On Sat, 10 Oct 1998 23:51:23 -0700 (PDT), Jason Dillon wrote:
>Try setting your classpath to contain jdk116/lib/classes.zip:
>
>sh:
>
>CLASSPATH=/where/ever/you/put/it/jdk116/lib/classes.zip
>export CLASSPATH
This should not be needed. The problem below is most likely that
he is not running the javac from the jdk116/bin directory.
That is a simple script that will set CLASSPATH for you. If
you get a CLASSPATH NOT SET error it is either KAFFE that is running
and not the jdk116/bin/javac command or it is some other problem
like that since the javac script (which is just .java_wrapper) always
makes sure CLASSPATH is set.
>csh:
>
>setenv CLASSPATH /where/ever/you/put/it/jdk116/lib/classes.zip
>
>You should also set JAVA_HOME to /where/ever/you/put/it/jdk116/ in the same
>fashion. That should fix it. Let me know if it doesn't.
Please do not set JAVA_HOME. It is not needed and generally will
help add to confusion rather than reduce it.
>On 11-Oct-98 Willy wrote:
>> Sir/Madam,
>> Good day!!!
>> I download the jdk_1.1.6-v5-x86-lib5.tar.gz... then untar it... it
>> extracted on jdk116 directory then... and when i run javac it return the
>> error message "CLASSPATH NOT SET".... please help me how to solve this
>> problem... We're students now developing a software using Java in
>> Linux... please help us as soon as possible....
Do you have KAFFE installed. If you do a "which javac" you should see
that it is running the jdk116/bin/javac If that is not what it is running
your path may be incorrect or you may have some other javac in the path
that you will want to remove
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