[jdom-interest] classpath problem
Ian Lea
ian.lea at blackwell.co.uk
Mon Apr 30 02:09:47 PDT 2001
java can't find YOUR program. Is /home/tj/proj the current
directory? Where is jdomtest.class? Is it in a package?
All nothing to do with JDOM.
--
Ian Lea
ian.lea at blackwell.co.uk
Travis Bell wrote:
>
> 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