Aaron Brashears wrote:
Hi all. Been a long time since I've done java development, but it's
time to get back into it again. I erroneously sent a question to
debian user before remembering this is a better for java questions.
I installed Sun's jdk into /usr/local, but I get this strange error
when attempting to launch java.
/usr/local/j2sdk1.4.0_01/jre/bin$ ./java
Error: failed /usr/local/j2sdk1.4.0_01/jre/lib/i386/client/libjvm.so, because
libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or
directory
/usr/local/j2sdk1.4.0_01/jre/bin$ ./java_vm
./java_vm: error while loading shared libraries: libjvm.so: cannot open shared
object file: No such file or directory
Should I have set up some kind of library path? Has anyone else run
into this problem?
$ apt-file search libstdc++-libc6.1-1.so.2
libstdc++2.9-glibc2.1
so all you need to do is:
# apt-get install libstdc++2.9-glibc2.1
have fun :-]
~c