Wednesday, June 26, 2002 10:46 AM
To answer my own question, it turns out that using
java -jar myfile.jar overwrites classpath.
If you need to specify a classpath in an executable jarfile
you need to add it to the jar file's MANIFEST.MF file.
the syntax is:
Class-Path: /path1/jarFile1.jar /path2/jarFile2.jar
multiple paths are space separated.