Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can't compile java programs

843810Feb 14 2003 — edited May 20 2008
I have recently changed my OS to winXP pro (clean install), i have installed j2sdk1.4.1_01, have set the path variable like it says in the installation instructions.
When i try to compile a program i get this error message: "the system cannot find the file specified"
the error message box title bar reads: "C:\windows\system32\javac.exe"
why is the system looking in "system32" for javac when the variable path is set to C:\j2sdk1.4.1_01\bin?
if i copy javac into the system32 folder i just get more error messages.
the jre seems to work ok as i can run previously compiled programs that i made on my old OS.
can anyone help me?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 17 2008
Added on Feb 14 2003
23 comments
1,029 views