> From: Martin Gainty [mailto:[EMAIL PROTECTED] 
> Subject: Re: java.lang.Object cannot be resolved
> 
> $CLASSPATH=$JAVA_HOME/jre/lib/rt.jar:$CLASSPATH

To reiterate: rt.jar must NOT be included in the CLASSPATH variable
setting.  Classes from rt.jar ate expected to be loaded by the bootstrap
classloader, which has privileges within the JVM that the system
classloader (the one that handles the CLASSPATH or -cp setting) does
not.  Arbitrarily adding jars to CLASSPATH can only mask the actual
underlying problem, whatever that turns out to be.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to