Page 1 of 1
compile tool
Posted: Tue Jul 29, 2003 4:38 pm
by dkim12
How can I use compile tool? I am getting message that system cannot find javac.exe.
Thanks
Daniel
Posted: Tue Jul 29, 2003 5:24 pm
by helios
Please post future Java questions in the Java Forum.
Please try reinstalling the JDK, and TextPad in that order.
If that doesn't work, TextPad determines which javac.exe it should use, by looking at the value of the current version in the Registry.
The solution should be to change the Registry key to the correct file path for the current version of the JDK.
Please expand the Register as in the following example:
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.4
Clicking on Java Development Kit reveals the current version value, 1.4 in the example above. Clicking on the plus sign next to Java Development Kit reveals any other versions of the JDK. Clicking on the key of the Current version, you should see "JavaHome" in the right hand pane. Right click on JavaHome and select "Modify". Type in the correct path for the Current version.
You may need administrator rights to do this.
I hope this helps.
Stephen MacDonald
Helios Software Solutions
Posted: Tue Jul 29, 2003 6:57 pm
by dkim12
jdk seems to be pointing correctly. Do I need to correct JRE, too? The message shows 1.2\javac.exe.
In jdk, I have 1.3 and 1.3.1_06 and
in Jre, I have 1.2, 1.3 and 1.3.1_06.
Thanks
Daniel