What is difference between path and CLASSPATH?

Thành Nguyễn

New member
What is difference between path and CLASSPATH?
Answer
PATH is the environment variable where we
specify the locations of binaries. Example: We add bin directory path of JDK or JRE, so that any binaries under the directory can be accessed directly without specifying absolute path. CLASSPATH is the path for Java application where the classes you compiled will be available.
 

Tìm kiếm

Back
Top