wood burning stoves
The moose likes Beginning Java and the fly likes how to use textpad Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to use textpad" Watch "how to use textpad" New topic

how to use textpad

sandeep MITTAL

Joined: Oct 14, 2004
Posts: 3
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

Joined: Aug 03, 2002
Posts: 7729
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?

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
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).

SCJP Tipline, etc.
Svend Rost
Ranch Hand

Joined: Oct 23, 2002
Posts: 904
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

Joined: May 15, 2001
Posts: 673
Personally I use JEdit, you will need to download some plugins to compile from the editor but it is nice
I agree. Here's the link: http://aspose.com/file-tools
subject: how to use textpad
It's not a secret anymore!