<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1141" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=4>Hi there</FONT></DIV>
<DIV><FONT size=4></FONT> </DIV>
<DIV><FONT size=4>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.</FONT></DIV>
<DIV><FONT size=4></FONT> </DIV>
<DIV><FONT size=4>The Following are all installed in the same directory
:</FONT></DIV>
<DIV><FONT size=4>
<DIV><FONT size=4> * jdom.jar</FONT></DIV> *
CampNotes.jar</FONT></DIV>
<DIV><FONT size=4> * CampNotes.bat</FONT></DIV>
<DIV><FONT size=4></FONT> </DIV>
<DIV><FONT size=4>The batch file does the following command
:</FONT></DIV>
<DIV>
<DIV><FONT size=4> java -jar -classpath jdom.jar
CampNotes.jar</FONT></DIV><FONT size=4></FONT></DIV>
<DIV><FONT size=4></FONT> </DIV>
<DIV><FONT size=4>But I get the following exception</FONT></DIV>
<DIV><FONT size=4>Exception in thread "main" java.lang.NoClassDefFoundError:
org/jdom/JDOMException<BR> at
mad.proj.campnotes.gui.NoteFrame.<init>(NoteFrame.java:67)<BR>
at mad.proj.campnotes.main.CampNotes.main(CampNotes.java:15)<BR></DIV>
<DIV>Any one have any ideas why the -classpath is not working? I have never had
problems with it before, just with JDOM.</DIV>
<DIV> </DIV>
<DIV>Thanks in advance.</FONT><FONT size=4><BR>______________<BR>M Ghazi
(Storm)<BR><A
href="mailto:storm@storm.demon.co.uk">storm@storm.demon.co.uk</A></DIV>
<DIV> </DIV>
<DIV></FONT> </DIV></BODY></HTML>