Comment 0 for bug 988727

Revision history for this message
Mirza Shah (mas644) wrote :

In both Ubuntu 11.04 and 11.10, the 64 bit version of openjdk-6-jdk doesn't appear to have a copy of libjvm.so in:

/usr/lib/jvm/java-1.6.0-openjdk/jre/lib/amd64/client

Without this file, C/C++ applications that use the Java Native Interface (JNI) can't instantiate a Java virtual machine. Now there is of course the Cacao and JamVM versions of libjvm.so in the amd64 folder, but this is not the official JVM (to my understanding anyway and it doesn't work with my app).

However, note that 32 bit version of the package indeed has libjvm.so at the path:

/usr/lib/jvm/java-1.6.0-openjdk/jre/lib/i386/client

Is this a bug or is there just no 64 bit version of libjvm.so? I searched the entire file system for an alternative and have Googled for a while searching for the answer, but no success. I would appreciate any help, the sooner the better.

Thanks!