Use of CLASSPATH environment variable in Java!
CLASSPATH is the environment variable where Java compilers look for class files. Both javac & java programs will look into CLASSPATH environment variable to search for class files. For example, if your class files are located under c:\workspace folder, you need to add this folder path to CLASSPATH environment variable in-order to avoid using -cp […]