Package: sun-java6-bin
Version: 6-12-1
Cannot install and use Sun Java Runtime.
Stepts to reproduce:
r...@server:/# apt-get install sun-java6-jre
....
Настраивается пакет sun-java6-bin (6-12-1) ...
/usr/lib/jvm/java-6-sun-1.6.0.12/bin/java: error while loading shared
libraries: libjli.so: cannot open shared object file: No such file or
directory
Ignoring error generating classes.jsa
r...@server:/# ldd /usr/lib/jvm/java-6-sun-1.6.0.12/bin/java
linux-gate.so.1 => (0xb7f78000)
libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7f54000)
libjli.so => not found
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7f4f000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7df4000)
/lib/ld-linux.so.2 (0xb7f79000)
The way to use it is
LD_LIBRARY_PATH=/usr/lib/jvm/java-6-sun-1.6.0.12/jre/lib/i386/jli
dpkg-reconfigure sun-java6-bin
LD_LIBRARY_PATH=/usr/lib/jvm/java-6-sun-1.6.0.12/jre/lib/i386/jli java
program.jar
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]