← Back to team overview

openjdk team mailing list archive

[Bug 988727] [NEW] Missing client libjvm.so in 64 bit package

 

Public bug reported:

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

C/C++ applications link against this file in order to use the Java
Native Interface (JNI). Without this library, JNI applications cannot
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!

** Affects: openjdk-6 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 client jni jvm libjvm.so

** Description changed:

  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).
+ C/C++ applications link against this file in order to use the Java
+ Native Interface (JNI). Without this library, JNI applications cannot
+ 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!

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/988727

Title:
  Missing client libjvm.so in 64 bit package

Status in “openjdk-6” package in Ubuntu:
  New

Bug description:
  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

  C/C++ applications link against this file in order to use the Java
  Native Interface (JNI). Without this library, JNI applications cannot
  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!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/988727/+subscriptions



Follow ups

References