What is Classpath? (JNNC Technologies)


Classpath is system environment variable used by the Java compiler and JVM.
Java compiler and JVM is used Classpath to determine the location of required class files.
C:\Program Files\Java\jdk1.6.0\bin

Difference between path and classpath

difference between path and classpath
pathclasspath
path variable is used to set the path for all Java software tools like javac.exe, java.exe, javadoc.exe, and so on.classpath variable is used to set the path for java classes.

0 Comments

'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })();