Hi,
You have to add classes.zip file in the
CLASSPATH variable. I have also read somewhere
to avoid using ~ in CLASSPATH. Here is my CLASSPATH
variable:
CLASSPATH=.:/u2/jdk117_v3/lib/classes.zip:
/opt/swing-1.1/swingall.jar:/opt/CoreJavaBook:
/usr/lib/pgsql/postgresql.jar
Hope this helps.
-Owais
--Original message--
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.
Patt
Au revoir
____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at
http://webmail.netscape.com.
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]