Skip to Main Content

New to Java

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!

Java Installation Problems

807600Jun 27 2007 — edited Jun 29 2007
I'm trying to get Java going on my machine but am having no joy. I have version J2SDK1.4.2_06. This is installed to C:\j2sdk1.4.2_06 andis appearing in my Add And Remove Programs. I then went into Environment Variables and entered 'JAVA_HOME' as the variable and 'C:\j2sdk1.4.2_06\bin' as the variable value in the user variables. However if I use cmd to navigate to a folder containing a java program and use the javac command I get the following error:

'javac' is not recognised as an internal or external command, operable program or batch file.

Can anybody suggest what the problem might be? Should I set the class path in the System Variables rather than the User Variables?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 27 2007
Added on Jun 27 2007
15 comments
160 views