apt-get install sun-java6-bin fails on Gutsy 7.10 with the same error
reported above.

java does not find libjli.so, libjava.so. Libjava.so does not find
libjvm.so.

sure sucks not to be able to do anything with java. How did this
actually slip on to a 'final' release? Even the icedtea JVM has the same
problem and it's suggested in the Ubuntu documentation.

I've actually sorted out all of the .so dependencies by going into
/usr/lib/jvm/java-6-sun/jre and making a few clever symlinks, but then I
experience something that could only happen on Ubuntu:

(unsatisfied link)

[EMAIL PROTECTED]:/usr/lib/jvm/java-6-sun/jre/bin# ldd java
        linux-gate.so.1 =>  (0xffffe000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7ecb000)
        libjli.so => not found
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7ec6000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d7c000)
        /lib/ld-linux.so.2 (0xb7ef1000)

(link is satisfied)

LD_LIBRARY_PATH=/usr/lib/jvm/java-6-sun/jre/lib/i386 ldd java
        linux-gate.so.1 =>  (0xffffe000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f0f000)
        libjli.so => /usr/lib/jvm/java-6-sun/jre/lib/i386/libjli.so (0xb7f05000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f01000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7db7000)
        /lib/ld-linux.so.2 (0xb7f35000)

(Now it breaks again... go team!)

LD_LIBRARY_PATH=/usr/lib/jvm/java-6-sun/jre/lib/i386:/usr/lib/jvm/java-6-sun/jre/lib/i386/jli/libjli.so:/usr/lib/jvm/java-6-sun/jre/lib/i386/client
 ./java Hello
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment

Honestly, I thought that Ubuntu was supposed to 'just work'. So much for
that idea.

-- 
Java install via Add/Remove crashed
https://bugs.launchpad.net/bugs/103933
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to