Tuesday, May 1, 2007

PATH and CLASSPATH

Keeping on the trend of finding the differences as in my earlier posts but importantly understanding them, herez the basic difference between the environment variables PATH and CLASSPATH :
PATH stores the location of executables where as CLASSPATH holds that of classes or jar files.
Hence, the common mistake of placing the bin directory inside CLASSPATH could be avoided by appropriately placing them in PATH variable.

No comments: