What I get from this tutorial :
1] suppose you have some classes in c:\myFolder , and you want to take a reference of all the classes in your class then you can do this 2 thing :
for just compilation purpose :
c:/ javac -classpath c:\myFolder My.java
for just execution purpose :
c:/
java -classpath c:\myFolder My
And if you want to set in class path for all time :
c:/ set classpath = c:\myFolder;
then you can compile & execution your class like this :
c:/ javac My.java
c:/ java My
------------------
If you want to take a zip or jar file into class path , then you have to give its name also ( not just the folder name that contained this jar file , as we did in case of class - above one )
c:/ javac -classpath c:\myFolder\my.jar My.java
or
c:/ set classpath = c:\myFolder\my.jar;
c:/ javac My.java
----------------
If you have this Cool class in a package my.app that is in myFolder & want to take reference :
c:/ javac -classpath c:\myFolder my.app.Cool My.java
c:/ set classpath=c:\myFolder my.app.Cool;
c:/ javac My.java
-----------------
please correct me , if something is wrong .
is this sufficient for beta exam , or something else is needed . please put your comment ...
Thanks a lot .