jhunter at servlets.com
Thu Feb 7 09:34:33 PST 2002
I believe when you "-jar" run a JAR file it ignores the classpath.
You'd need to have supporting JARs in your MANIFEST.MF for them to be
Joern Muehlencord wrote:
> Hi out there,
> is there any reason, why I cannot run my program out of a jar file,
> since I am using JDOM?
> java -jar -cp /path/to/jdom.jar myprog.jar
> Exception in thread "main" java.lang.NoClassDefFoundError:
> (jdom.jar ist listet in die Classpath as well.)
> Do I have to include the classes as well? Or do I need a specel tag in
> the manifest-file? Any hints?
> The box said "Requires Win95, NT, or better," and so I installed Linux.
> To control your jdom-interest membership:
More information about the jdom-interest