You can find details on 1 and 2 in the documentation for the java tool and the documentation on jar files that comes with the JDK.
With the missing class, the most common reason for this, if you're using windows, is that the command line uses the JRE install not the JDK install. If you are using windows you should check that lib/ext of the JRE install also contains the jar file.
The other reason this can happen is if the jar has somehow being included twice in the classpath.
Regards,
David
|