Here's the error:

$ java
/usr/local/jdk1.2/jre/bin/realpath:
/usr/local/jdk1.2/jre/bin/i386/realpath: No such file or directory
/usr/local/jdk1.2/jre/bin/realpath:
/usr/local/jdk1.2/jre/bin/i386/realpath: No such file or directory
/usr/local/jdk1.2/bin/java: /usr/local/jdk1.2/bin/i386/native_threads/java:
No such file or directory
/usr/local/jdk1.2/bin/java: /usr/local/jdk1.2/bin/i386/native_threads/java:
No such file or directory

I get the error if I install either the Glibc2.0 or Glibc2.1 version.  I've
looked in the given directories and, sure enough, the files are there with
correct permissions (world read, world execute, etc.).

To install the JDK I bunzip2'd the archive then did:

$ cd /usr/local
$ tar xf jdk1.2.whatever.tar

Should the JDK be unpacked elsewhere?  Why am I getting this error (the
Blackdown JDK port of v1.1.7 installed just fine many moons ago).

Here's some system information:

Linux Slackware version 4.0.

$ set | grep PATH
 PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/openwin/bin:/usr/games:
.:/opt/kde/bin:/usr/local/jdk1.2/bin:~/bin

$ uname -a
Linux caitlin 2.2.6 #20 Tue Apr 27 15:23:25 CDT 1999 i686 unknown

$ ls -l /usr/local/jdk1.2/jre/bin/i386
total 14
drwxr-xr-x   2 root     root         1024 Jun  4 02:46 green_threads/
drwxr-xr-x   2 root     root         1024 Jun  4 02:46 native_threads/
-rwxr-xr-x   1 root     root        11862 Jun  4 00:43 realpath*

$ ls -l /usr/local/jdk1.2/
total 4404
-rw-r--r--   1 root     root          915 Jan 26  1999 COPYRIGHT
-rw-r--r--   1 root     root         8605 Jan 26  1999 LICENSE
-rw-r--r--   1 root     root         5864 Jan 26  1999 README
-rw-r--r--   1 root     root          608 Jun  4 02:51 README.PRE-RELEASE
-rw-r--r--   1 root     root        19431 Jan 26  1999 README.html
-rw-r--r--   1 root     root        11688 Jun  4 02:51 README.linux
-rw-r--r--   1 root     root         6422 Jun  4 02:51 README.linux.src
drwxr-xr-x   3 root     root         1024 Jun  4 02:50 bin/
drwxr-xr-x   4 root     root         1024 Jun  4 02:50 demo/
drwxr-xr-x   3 root     root         1024 Jun  4 02:50 include/
drwxr-xr-x   3 root     root         1024 Jun  4 02:50 include-old/
drwxr-xr-x   4 root     root         1024 Jun  4 02:50 jre/
drwxr-xr-x   2 root     root         1024 Jun  4 02:52 lib/
-rw-r--r--   1 root     root      4427339 Jun  4 02:51 src.jar

$ ls -l jdk*
-rw-r--r--   1 root     root     45168640 Sep 21 15:14 jdk1.2pre-v2-glibc21.tar
-rw-r--r--   1 root     root     44298240 Sep 21 15:13 jdk1.2pre-v2.tar

$ ldconfig -v | grep libc
ldconfig: warning: /lib/libdl-2.0.7.so is not a shared library, skipping
        libcurses.so.1 => libcurses.so.1.0.0
        libc.so.5 => libc.so.5.4.46
        libcom_err.so.2 => libcom_err.so.2.0
        libc.so.4 => libc.so.4.7.6
        libcurses.so.0 => libcurses.so.0.1.2

The warning on ldconfig bothers me a bit more than slightly (I had a
partial HD crash and wound up reinstalling most of Linux v4.0 again,
including the JDK several times from scratch).

I sure hope I'm missing something simple here.

Thanks for any hints as to what I'm doing wrong!

Dave


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to