[jdom-interest] Batch File and Classpath
M Ghazi
storm at storm.demon.co.uk
Fri Aug 8 09:46:43 PDT 2003
Hi there
I have a small JARed java application that uses the JDOM classes. I am using a Windows/DOS batch file to allow the users to double click and run the java application.
The Following are all installed in the same directory :
* jdom.jar
* CampNotes.jar
* CampNotes.bat
The batch file does the following command :
java -jar -classpath jdom.jar CampNotes.jar
But I get the following exception
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdom/JDOMException
at mad.proj.campnotes.gui.NoteFrame.<init>(NoteFrame.java:67)
at mad.proj.campnotes.main.CampNotes.main(CampNotes.java:15)
Any one have any ideas why the -classpath is not working? I have never had problems with it before, just with JDOM.
Thanks in advance.
______________
M Ghazi (Storm)
storm at storm.demon.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20030808/9d6d8f43/attachment.htm
More information about the jdom-interest
mailing list