Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use textpad

 
sandeep MITTAL
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • 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?
 
Corey McGlone
Ranch Hand
Posts: 3271
  • Mark post as helpful
  • send pies
  • 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).
 
Svend Rost
Ranch Hand
Posts: 904
  • Mark post as helpful
  • send pies
  • 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
 
Nigel Browne
Ranch Hand
Posts: 703
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic