1.

What Is The Difference Between Path And Classpath?

Answer»

Both are key environment variable used by Java PLATFORM, but the key difference between them is that PATH points to the JDK binaries or native libraries e.g. java.exe, while CLASSPATH points to Java binaries e.g. JAR files, which CONTAINS bytecode. PATH is also SYSTEM level concept independent of Java but CLASSPATH is purely Java concept and used by JVM to load CLASSES required by Java application you are running.

Both are key environment variable used by Java platform, but the key difference between them is that PATH points to the JDK binaries or native libraries e.g. java.exe, while CLASSPATH points to Java binaries e.g. JAR files, which contains bytecode. PATH is also system level concept independent of Java but CLASSPATH is purely Java concept and used by JVM to load classes required by Java application you are running.



Discussion

No Comment Found