CLASSPATH: CLASSPATH describes the location where the required “.class files” are available.
Then JVM uses CLASSPATH to locate required .class files.
We can set the CLASSPATH in the following 3
ways.
1. By using environment variable CLASSPATH (in WINDOWS),by updating .bashrc (in LINUX/UNIX).
This CLASSPATH will be preserved even after system restart aslo. Hence this is permanent way of setting CLASSPATH.