posted 24 years ago
jdk1.2 does not need any explicit classpath to set for core java classes.However,here is the syntax for setting classpath for the packages created by you.
consider c is a package u created in dir c:\a\b;
Windows
set classpath=%classpath%;c:\a\b;
Unix
setenv CLASSPATH=%CLASSPATH%:home\usr\a\b
for second question classpath is an environmental variable (just like path )to make jvm to look for the .class files to make any java compilation or execution take place
------------------