I tried RC4 and that gives the same results. I downloaded JDK 1.2 and
that works. Why is it that 1.1.8 and 1.2.2 don't but 1.2 does? With
1.2 if I type java -version it will return the version number so I
assume its working, but it won't work with the java app I'm trying to
use. If you have time to look at it you can download it at
http://www.mytrack.com on the left side of the screen click on java and
then linux. Anyway they say to use JDK 1.1.8, which is why I was trying
to get that version working. Here is the startup script they use:
cd /mytrack
JAVA=/jdk118_v1/bin/java
CLASSPATH=/jdk118_v1/lib/classes.zip:./xTrack001.jar:./jctable362.jar
$JAVA -classpath $CLASSPATH xTrack
JDK versions 1.2 and 1.2.2 don't have classes.zip in the lib dir, but
1.1.8 does. This might be why even though 1.2 seems to work on my
system it won't run this app properly.
It looks to me like I have glibc 2.0.7 is that right?
chad:/home/chad# ldconfig -D | grep libc.so
ldconfig: warning: /usr/lib/libstdc++-2-libc6.0-1-2.9.0.so has
inconsistent soname (libstdc++-libc6.0-1.so.2)
ldconfig: warning: /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so has
inconsistent soname (libstdc++-libc6.1-1.so.2)
ldconfig: warning: /usr/lib/libexpect5.28.so.1 has inconsistent soname
(libexpect5.24.so.1)
ldconfig: warning: /lib/ld-2.0.7.so has inconsistent soname
(ld-linux.so.2)
ldconfig: warning: /lib/libBrokenLocale-2.0.7.so has inconsistent soname
(libBrokenLocale.so.1)
ldconfig: warning: /lib/libc-2.0.7.so has inconsistent soname
(libc.so.6)
ldconfig: warning: /lib/libcrypt-2.0.7.so has inconsistent soname
(libcrypt.so.1)
ldconfig: warning: /lib/libdb-2.0.7.so has inconsistent soname
(libdb.so.2)
ldconfig: warning: /lib/libdl-2.0.7.so has inconsistent soname
(libdl.so.2)
ldconfig: warning: /lib/libm-2.0.7.so has inconsistent soname
(libm.so.6)
ldconfig: warning: /lib/libnsl-2.0.7.so has inconsistent soname
(libnsl.so.1)
ldconfig: warning: /lib/libnss_compat-2.0.7.so has inconsistent soname
(libnss_compat.so.1)
ldconfig: warning: /lib/libnss_db-2.0.7.so has inconsistent soname
(libnss_db.so.1)
ldconfig: warning: /lib/libnss_dns-2.0.7.so has inconsistent soname
(libnss_dns.so.1)
ldconfig: warning: /lib/libnss_files-2.0.7.so has inconsistent soname
(libnss_files.so.1)
ldconfig: warning: /lib/libnss_nis-2.0.7.so has inconsistent soname
(libnss_nis.so.1)
ldconfig: warning: /lib/libresolv-2.0.7.so has inconsistent soname
(libresolv.so.2)
ldconfig: warning: /lib/libutil-2.0.7.so has inconsistent soname
(libutil.so.1)
ldconfig: warning: /lib/libpthread-0.7.so has inconsistent soname
(libpthread.so.0)
libc.so.5 => libc.so.5.4.46
libc.so.6 => libc-2.0.7.so
Urban Widmark wrote:
>
> 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]