Hi-

I just downloaded and installed jdk1.2.2 on RH6.1. When trying to run
some sample code, I get the following message:

    Exception in thread "main" java.lang.NoClassDefFoundError:
p1/Protection

Here is what I have:

jdk1.2.2 is installed in /usr/local. My path variable has
/usr/local/jdk1.2.2/bin included. I have the CLASSPATH variable set as:
CLASSPATH=/home/dad/MyJava

The code I am running is in directory "p1" under "MyJava". One of the
classes is Protection.java which declares a package p1.

I compile using the command: java p1.Protection


Any insights/advice is greatly appreciated.

TIA,
Steve
[P.S. I apologize if you get this message twice]



--
Steve Ettorre
e-mail: [EMAIL PROTECTED]
-------------------------------------------
"...thinking is not consciousness -
 it requires hard work..." - Rush Limbaugh
-------------------------------------------











----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to