Hi.. I have downloaded j2sdk1.4.2_02, i would like to know how to set the path in windows XP. Do i need to set the path both in the environmnet variable, and in the autoexec.bat. what is the diff between setting the path and classpath. and how to set them Thanks in advance
Sonu, Windows XP ignores autoexec.bat. You need to set the path in the envionment variable (control panel --> system.) The "path" is used for your computer to find javac/java. The "classpath" is used to find classes that your programs are dependent on. You won't use that at the beginning.