The classpath tells the SDK tools, such as java, javac, and the javadoc tool, where to find the Java™ class libraries.
echo $CLASSPATH
If you develop and run applications that use different runtime environments, including other versions that you have installed separately, you must set the CLASSPATH and PATH explicitly for each application. If you run multiple applications simultaneously and use different runtime environments, each application must run in its own shell.