Help - Can not compile java - File not found: java.exe

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
mrappe
Posts: 2
Joined: Fri Apr 21, 2006 9:09 pm

Help - Can not compile java - File not found: java.exe

Post by mrappe »

A couple of years ago I used Textpad to compile java. I had no problem but since I installed the SUN Java 5 JDK and upgraded Textpad I get a file not found error when trying to compile. It is looking for javac.exe in C:\windows\system32 but the one that i now want to use is in the C:\Sun\AppServer\jdk\bin directory. When I go into the Textpad configuration under Tools>Preferences>Tools>Compile Java the Command is grayed out and I cannot change it. How can I point textpad to the right exe file?
mrappe
Posts: 2
Joined: Fri Apr 21, 2006 9:09 pm

Post by mrappe »

PS. I do have the PATH variable set in windows.

Mike
greatrussian
Posts: 5
Joined: Fri Apr 21, 2006 3:42 pm

Post by greatrussian »

Instead of using the pre-set java tools, manually "Add...Program..." Browse to the java compiler. Open. Apply. Under the left-hand tree menu, copy the parameters, etc., from the Pre-set, or make changes as you see fit.
Post Reply