On Fri, 21 May 1999 05:29:19 -0400, Patrick Tsoi-A-Sue wrote:
>Trying to compile a java program for the first time on linux using the
>following:
>
>$ CLASSPATH=~/java:/usr/lib/jdk1.1.5/lib
>$ export CLASSPATH
>$ javac Console.java
>No library path set.
>Cannot find essential class 'java/lang/Object' in class library ... aborting.
>$
>
>How do I set library path.
>Thanks for any suggestions.
The problem is that you also have an older kaffe installed (most likely
you have a RedHat Linux release)
Un-install or move the kaffe.
Also, your classpath setting is incorrect unless you actually have
classes in the /usr/lib/jdk1.1.5/lib directory. Most likely you
have a classes.zip there which would mean /usr/lib/jdk1.1.5/lib/classes.zip
However, you should not need to list classes.zip in the classpath as the
wrapper automatically adds that. Try just having classpath be ~/java
if you need it to be that.
Michael Sinz -- Director of Research & Development, NextBus Inc.
mailto:[EMAIL PROTECTED] --------- http://www.nextbus.com
My place on the web ---> http://www.users.fast.net/~michael_sinz
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]