ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

What is difference between path and classpath variables?

PATH is an environment variable used by operating system to locate the executables. That’s why when we install Java or want any executable to be found by OS, we need to add the directory location in the PATH variable. 

Classpath is specific to java and used by java executables to locate class files. We can provide the classpath location while running java application and it can be a directory, ZIP files, JAR files etc.
Related Posts Plugin for WordPress, Blogger...
Flag Counter