On Thu, 30 Sep 1999, Roll, Greg wrote:
> That still yields the same error... I tried that many times too!
Sorry, I didn't catch your first email.
If it still says class not found, make sure you have CLASSPATH set
correctly.
Also make sure your PATH is set to include the bin directory under the
directory you installed your JDK, *as the first thing in your PATH*.
Assume you have your JDK installed in /tmp/jdk. Assume you have your
HelloWorld program in /home/groll.
Then you need to make sure you have done these steps (under bash):
export PATH=/tmp/jdk/bin:$PATH
export CLASSPATH=/home/groll:$CLASSPATH
Then you can run:
java HelloWorld
You will want to read up on using Linux and also read up on the CLASSPATH
mechanism in Java.
. . . Sean.
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]