Klasa
set CLASSPATH=D:\myprogram;D:\myprogram\lib\supportLib.jar
java org.mypackage.HelloWorld
Frantic Fly
set CLASSPATH=D:\myprogram;D:\myprogram\lib\supportLib.jar
java org.mypackage.HelloWorld
java -classpath D:\myprogram;D:\myprogram\lib\supportLib.jar org.mypackage.HelloWorld
java -classpath '.:/mylib/*' MyApp
java -classpath ".;c:\mylib\*" MyApp
classpath is just a set of paths where the java compiler and the JVM must find needed classes to compile or execute other classes.