[jdom-interest] classpath problem

philip.nelson at omniresources.com philip.nelson at omniresources.com
Mon Apr 30 05:37:07 PDT 2001


looks like you need . in your classpath (assuming you are trying to compile
from the directory where the .java file is).



> -----Original Message-----
> From: Travis Bell [mailto:tjbell at usa.net]
> Sent: Sunday, April 29, 2001 4:47 PM
> To: jdom-interest
> Subject: [jdom-interest] classpath problem
> 
> 
> I've read in the FAQ that this is probably a classpath problem, but I
> have yet to have been able to solve it.
> 
> Succeeds:
> > javac jdomtest.java
> 
> Fails with error:
> > java jdomtest mytest.xml
> Exception in thread "main" java.lang.NoClassDefFoundError: jdomtest
> 
> > echo $CLASSPATH
> /home/tj/proj
> 
> > which javac
> /usr/lib/java/bin/javac
> 
> > which java
> /usr/lib/java/bin/java
> 
> > ls /usr/lib/java/jre/lib/ext
> crimson.jar  jaxp.jar  jdom.jar  xalan.jar  xerces.jar
> 
> -- 
> Travis Bell  a.k.a.  MudPoet
> echo tjbexx at usa.nyz | tr xyz let
> ICQ: 6014042  -  AIM: MudPoet
> http://tjbell.dhs.org
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
uraddr at yourhost.com



More information about the jdom-interest mailing list