--- Paul Kinnucan <[EMAIL PROTECTED]> wrote:
> >My next problem has to do with library paths.  JDE does not seem to
> >read my CLASSPATH environment variable.  I've set the classpath
> >variable in both the compile and run classpaths using the
> "customize"
> >dropdown menu in XEmacs
>
>(to:/home/cmayes/java/Thinking_In_Java/actual_code:/usr/local/java/j2sdkee
> 1.2.1/lib/j2ee.jar:.)
> >
> >Without this, I get:
> >
> >java.lang.NoClassDefFoundError: c05/dessert/Cookie
> >    at Dinner.main(Dinner.java:12)
> >
> >With the path, I get:
> >
> >Couldn't find or load essential class `java/lang/Object'
> >java.lang.NoClassDefFoundError java/lang/Object
> >
> >Any ideas?
> 
> From the JDE User's Guide:
> 
> "Setting a Global Classpath
> 
Okay, so I set my library paths in the global portion of the
configuration rather than local to the compilation or runtime sections,
but I still get:

-----
Couldn't find or load essential class `java/lang/Object'
java.lang.NoClassDefFoundError java/lang/Object
-----

What do I need to put in my path (specified above) in order for the
runtime binary to find the foundation classes?  I don't get this error
when I run 'javac' trhough JDE nor do I have this problem (with either
java or javac) at the shell.

Vitals: Debian Potato/Woody, 2.2.14, XEmacs 21.1.12-1 (Channel
Islands), jde 2.1.5-2.1.6beta13-4. 

Thanks,

-Chris


__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

Reply via email to