Please don't post the thread to the stickies, beacause I have seen them, and I have read them.
I have recently purchased a Java programming book, and I am creating the classic HelloWorld.java application. I have wrote the code using notepad, yet I cannot compile when using Command Prompt. I recieve this error:
My application is saved under "HelloWorld.java" and it is located in "New Folder".
I have J2SE Development Kit 5.0 Update 10, J2SE Development Kit 5.0 Update 11, J2SE Runtime Environment 5.0 Update 10, and J2SE Runtime Environment 5.0 Update 11.
These are my variable values for each variable:
1)Classpath in "User variables for user"
2)CLASSPATH in "System variables"
3)Path in "System variables"
I have a feeling that my variables are set up wrong, please let me know what is wrong. If you would like to walk me through it, you can add my msn also.
If you are able to get it set up for me, I will pay RS gp.
Also, don't say to restart your computer or anything idiotic like that, I have already rebooted my computer numerous times.
I have recently purchased a Java programming book, and I am creating the classic HelloWorld.java application. I have wrote the code using notepad, yet I cannot compile when using Command Prompt. I recieve this error:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\user>cd\
C:\>cd newfolder
The system cannot find the path specified.
C:\>cd new folder
C:\New Folder>javac HelloWorld.java
'javac' is not recognized as an internal or external command,
operable program or batch file.
C:\New Folder>
My application is saved under "HelloWorld.java" and it is located in "New Folder".
I have J2SE Development Kit 5.0 Update 10, J2SE Development Kit 5.0 Update 11, J2SE Runtime Environment 5.0 Update 10, and J2SE Runtime Environment 5.0 Update 11.
These are my variable values for each variable:
1)Classpath in "User variables for user"
SET CLASSPATH=C:\Program Files\Java\jdk1.5.0_07\bin;%CLASSPATH%;.
2)CLASSPATH in "System variables"
.;C:\Program Files\Java\jre1.5.0_03\lib\ext\QTJava.zip
3)Path in "System variables"
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\Java\JDK1.5.0_04\bin
I have a feeling that my variables are set up wrong, please let me know what is wrong. If you would like to walk me through it, you can add my msn also.
If you are able to get it set up for me, I will pay RS gp.
Also, don't say to restart your computer or anything idiotic like that, I have already rebooted my computer numerous times.

