I installed Java 1.7.0 in the following folder C:\\Program Files\\Java. My operating system is Windows XP(Version 2002) with Service pack 3.
C:\\Program Files\\Java
The envir
Tell it where to look for you class: it's in ".", which is the current directory:
java -classpath . HelloWorld
No need to set JAVA_HOME or CLASSPATH in this case
JAVA_HOME
CLASSPATH