In message <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes:

    [1.1.5v7] does not work with the following error message (or
    something very similar) when I try and compile a test class with
    javac test.class:
    
    Library path not set.

Patrick,

Hmm, I wonder where this is coming from.
    
    Could it be I need to upload the latest glibc libraries?

I really don't know where that exact message originates. You *should*
update to the latest glibc RPMs from RedHat, though.

Visit http://www.redhat.com/support/ and go to their
http://www.redhat.com/support/docs/rhl/rh50-errata-general.html page. 
>From there, download all of the updates for your platform's installed
packages. They're all in ftp://ftp.redhat.com/pub/redhat/updates/5.0/i386/.

Here are the most relevant patches for most people:

glibc-2.0.7-7.i386.rpm
libc-5.3.12-25.i386.rpm

You may also want to get these files from
ftp://ftp.xfree86.org/pub/XFree86/3.3.1/binaries/Linux-ix86:

X331lib.tgz, X331S3.tgz, and X331bin.tgz

I'm sure that 3.3.2 would work fine, but I haven't tried it.

Make sure your CLASSPATH, JAVA_HOME, and JDK_HOME environment
variables aren't setup for a different, possibly older JDK installed
on your system. Check /etc/profile.d for scripts that are
automatically sourced at login for conflicts. This will probably only
have happened to you if you installed a different version of the JDK
from RPM.

If you're still having problems, please consider looking the script
I'm providing you below over carefully, running it, and sending the
results to me. You can even pipe it to me like this:

sh script | Mail -s "JDK115v7 Troubleshooting Output" [EMAIL PROTECTED]

It's pretty spammy, and includes some information that may be personal,
so please don't send it back to this list :-)

Good luck,

Steve

#!/bin/sh
#
# Quick hack by Stephen Wynne to collect info for Java trouble-shooters.
#
# Disclaimer: please understand what this script sends its recipient
# before executing. Please don't mail to java-linux for that reason :-)
#
# $Id: java-linux-info,v 1.4 1998/05/22 09:38:28 stevemw Exp $
# $Log: java-linux-info,v $
# Revision 1.4  1998/05/22 09:38:28  stevemw
# Simplified.
#
# Revision 1.3  1998/05/22 09:37:54  stevemw
# Added disclaimer.
#

exec 2>&1

die() { echo `basename $0` ERROR: "\`\`$1''" quitting.; exit 1; }

test -z "$DISPLAY" && die "Please type export DISPLAY=:0 first."

echo "Collecting data about your system..."

for c in "date" "uptime" "ls -l /" \
         "printenv" \
         "df" "free" \
         "ldconfig -D" "uname -a" \
         "xdpyinfo" "xset q" "xlsfonts" \
         "hostname --long" "ifconfig -a" \
         "echo JAVA_HOME=\$JAVA_HOME"  "echo CLASSPATH=\$CLASSPATH"  \
             "echo LD_LIBRARY_PATH=\$LD_LIBRARY_PATH"  \
             "echo Java lives in \`which java\`" "strace java -version"
do
 echo "---------==| $c |==---------"
 eval $c
done

Reply via email to