On Thu, 25 May 2000, Chad Lemmen wrote:
> Ok I installed 1.2.2 RC3 and it seems some files are missing here is
> what its telling me.
>
> chad:/$ /usr/local/jdk1.2.2/bin/java -version
> /usr/local/jdk1.2.2/bin/java: /bin/realpath: No such file or directory
> /usr/local/jdk1.2.2/bin/java: /bin/realpath: No such file or directory
> java was not found in /bin/i386/native_threads/java
> chad:/$
bin/java is a (link to a) script that among other things does:
if [ "x${jre}" = "x" ]; then
echo "Error: can't find libjava.so."
exit 1
fi
# Get the canonicalized absolute pathnames
jre="`$jre/bin/realpath $jre`"
If you get it to do /bin/realpath and not /somepath/bin/realpath something
is strange. Is /bin/sh not /bin/sh? :)
realpath is a script in jdk1.2.2/jre/bin, so you could try to debug both
scripts in your environment. You could also try RC4.
> > I'm running JDK 1.1.8 and I am getting a segmentation fault. I'm not
> > able to run anything. Just typing java -version returns "Segmentation
> > Fault". I'm running Corel Linux 1.1 kernel version 2.2.12.
> > ldconfig -D 2>&1 | grep libc | tail -1 gives this: libcom_err.so.2 =>
> > libcom_err.so.2.0
> > ldconfig -D 2>&1 | grep ld | tail -1 gives this: ld-linux.so.1 =>
> > ld-linux.so.1.9.10
> > XFree86 Version 3.3.5
Do you have a /lib/libc-2.1.2.so (or a libc-2.1.x.so anywhere else)?
Try the 'ldconfig' without 'tail -1'. You need glibc, and not just
libc-5.x. I have no idea what Corel Linux 1.1 uses.
It is ok to have more than one libc version:
tcsh% ldconfig -D | & grep libc\\.so
libc.so.5 => libc.so.5.3.12
ldconfig: warning: /lib/libc-2.1.2.so has inconsistent soname (libc.so.6)
libc.so.6 => libc-2.1.2.so
/Urban
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]