This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have developed an swing application using XML config file. i have used jdom. for development i had the jdom.jar file in the class path. when i executed the app: $ java MyFrame it worked fine. then i bundled the compiled class files in a jar file indiwiz.jar (with appropriate manifest file), & execute: $ java -jar indiwiz.jar the exception thrown is: Exception in thread "main" java.lang.NoClassDefFoundError: org/jdom/input/SAXBuilder jdom.jar is still in the classpath. why is this error being thrown?