[jdom-interest] Jar-Archive

Joern Muehlencord joern at muehlencord.de
Thu Feb 7 04:46:59 PST 2002


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: 
org/jdom/JDOMException
(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?

Thanx
  Joern
-- 
The box said "Requires Win95, NT, or better," and so I installed Linux.




More information about the jdom-interest mailing list