When compile I get error: "C:\WINDOWS\System32\javac.ex

Using the Java SDK with TextPad

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

Post Reply
ZWWeil12345
Posts: 1
Joined: Sun Jun 12, 2005 1:01 am

When compile I get error: "C:\WINDOWS\System32\javac.ex

Post by ZWWeil12345 »

I am taking a java programming class and I am not really advanced when it comes to using textpad. I installed the most recent Java Edition Platform before I installed Textpad, but I do not know what else to do for this error "C:\WINDOWS\System32\javac.exe the system cannot find the file specified." after trying to compile. I also get the error "C:\WINDOWS\System32\appletviewer.exe the system cannot find the file specified" after trying to run an applet.
I am sorry if this kind of help has been provided before, but I honestly do not know what I should get help for. I just want Textpad to compile my programs and to run my applets.
Thank you to the person who helps me out
User avatar
helios
Posts: 710
Joined: Sun Mar 02, 2003 5:52 pm
Location: Helios Software Solutions
Contact:

Post by helios »

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.
Helios Software Solutions
elam
Posts: 1
Joined: Tue Sep 02, 2003 2:38 am

Post by elam »

Are future versions of Textpad going to allow us to simply define the path where the JDK is?
gadha
Posts: 2
Joined: Fri Sep 16, 2005 2:47 pm

Post by gadha »

i am getting the same error, and i tried reinstalling but it doesn't work
Post Reply