[jdom-interest] classpath problem

Travis Bell tjbell at usa.net
Sun Apr 29 14:46:56 PDT 2001


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



More information about the jdom-interest mailing list