In previous versions of Java if you had for example a user-defined package org.mypackage in windows with directory structure
D:\myprogram\
|
---> org\
|
---> mypackage\
|
---> HelloWorld.class
---> SupportClass.class
---> UtilClass.class
you make the JVM aware of the package by using the CLASSPATH environment variable.
For example:
set CLASSPATH=D:\myprogram
Does set MODULEPATH
command instead make the JVM aware of the location of user-defined modules in the latest versions of Java ?
If so why is classpath command still around and what purpose does it serve now?