On Mon, 21 Sep 1998 15:48:51 -0500, Larry Bottorff wrote:

>I just downloaded jdk1_1_6-v2-glibc_tar.gz and set it up in
>/usr/lib/jdk1.1.6. I'm using Red Hat 5.1 on Intel and I had previously
>updated glibc with glibc-2_0_7-19. I also set up my path to
>/usr/lib/jdk1.1.6/bin. When I try to compile: javac hello.java, I get
>the error message CLASSPATH is not set! All right, but the README.linux
>says I shouldn't have to set a CLASSPATH. However, the README seems to
>apply to Version 4a, and I downloaded from ..../v2 (see file name
>above). I then tried to add a CLASSPATH variable to my bash shell with
>export CLASSPATH=.:/usr/lib/jdk1.1.6/lib/classes.zip, and I get "No
>library path set", even when echo $CLASSPATH gives me back a good
>string. What am I missing? . . .

Darn this is getting "old" (not your fault Larry)

Check "which javac" and you may find that it is in /usr/bin and
if you look at the file it will be trying to run kaffe.

The JDK (both from Sun and our port of it) does not need the CLASSPATH
set to find its own classes (only for external packages that you may
had added, such as swing or 3rd party things)

Anyway, remove javac and a whole bunch of other java* files in /usr/bin
since they are not the ones you want to use.

It may be best to just remove kaffe from the installed packages and
this should remove the javac/javadoc/javah/etc files that have been
placed there by kaffe's RPM.

We really should put up a major line/paragraph in the install document
about the problems with RedHat and the kaffe RPM.

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

Reply via email to