1.

How are PATH and CLASSPATH different from each other in terms of J2EE?

Answer»

PATH and CLASSPATH are key environmental variables used by Java platforms.

  • The PATH VARIABLE points to JDK binaries or native libraries like java.exe. Whereas The CLASSPATH variable points to the binaries of Java such as JAR files that CONSIST of bytecode.
  • PATH is a system-level variable independent of Java being PRESENT in the system or not. Whereas CLASSPATH is purely Java-specific which is used by JVM for loading CLASSES required by Java applications while running.


Discussion

No Comment Found