Possible Duplicate:
Easiest way to merge a release into one jar-file
I made a simple project with 4 classes. It uses the JDOM library and I included it in my classpath. When i make a JAR File, putting in 4 classes and a manifest, I get this error when I exec the JAR.
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/jdom/JDOMException
at Frame.setPeople(Frame.java:230)
It told me that JDOMException
Class wasn't found. So, is there a trick to include an external library in a Jar file? If it's possible, could you give me an example about how to include the JDOM Library.