• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to use textpad

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i download textpad4.7 from textpad.com
my problem is this i m not able to compile the program
it says C:\system32\javac.exe not found
i want to asked how to configure textpad so that i can compile my program
please help me
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You have to make sure that javac.exe is on your path.

1) Where did you install java?
2) What do you get when you type echo %path% at the command prompt?
 
Ranch Hand
Posts: 3271
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Barry is right. It looks like your system is having trouble locating the Java compiler, javac. This isn't a problem with Textpad, but a problem with your environment setup. To fix this, follow these steps (I'm assuming Windows XP and these steps might be a little different if you're using a different OS):

1. Right-Click "My Computer" and select "Properties"
2. Go to the "Advanced" Tab
3. Click the "Environment Variables" button
4. In the lower panel (named "System Variables"), find the variable named "Path"
5. Highlight the "Path" variable and press "Edit"
6. In the "Edit System Variable" dialog, scroll to the end of the existing String (DO NOT DELETE WHAT IS ALREADY THERE)
6a. If the current string doesn't end with a semi-colon, add one
7. Type the full path to javac.exe (probably something like C:\j2sdk1.4.2\bin)
8. Press OK 3 times
9. Spin around in front of your computer twice for luck
10. Try compiling again

That should take care of the problem. Also, I'm moving this thread to JiG (Beginner).
 
Ranch Hand
Posts: 904
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know if textpad is a good tool to work with.. but I doubt it.

If you get some time on your hands, then try to take a look at emacs..
it will take some time before you learn to use it, but once you do
you'll love it.

/Svend Rost
 
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Personally I use JEdit, you will need to download some plugins to compile from the editor but it is nice
reply
    Bookmark Topic Watch Topic
  • New Topic