openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #01909
[Bug 375347] Re: [karmic] libaccess-bridge-java in amd64 contains 32bit library
The problem with symlinks are not fixed. UI applications using OpenJdk
are still trying to access library
/usr/lib/jvm/java-6-openjdk/jre/lib/ext/libjava-access-bridge-jni.so.
But there no so symlink here.
Version: libaccess-bridge-java-jni (1.26.0-0ubuntu5)
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/ext/libjava-access-bridge-jni.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1666)
at java.lang.Runtime.load0(Runtime.java:787)
at java.lang.System.load(System.java:1022)
at org.GNOME.Accessibility.JavaBridge.<init>(JavaBridge.java:352)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[...]
>> sudo update-alternatives --config java
There are 3 alternatives which provide `java'.
Selection Alternative
-----------------------------------------------
*+ 1 /usr/lib/jvm/java-6-openjdk/jre/bin/java
2 /usr/lib/jvm/java-6-sun/jre/bin/java
3 /usr/bin/gij-4.4
--
[karmic] libaccess-bridge-java in amd64 contains 32bit library
https://bugs.launchpad.net/bugs/375347
You received this bug notification because you are a member of OpenJDK,
which is subscribed to java-access-bridge in ubuntu.
Status in “java-access-bridge” source package in Ubuntu: Fix Released
Bug description:
Description: Ubuntu karmic (development branch)
Release: 9.10
libaccess-bridge-java:
Installed: 1.26.0-0ubuntu1
Candidate: 1.26.0-0ubuntu1
Version table:
1.26.0-0ubuntu1 0
500 http://ubuntu.mirror.garr.it karmic/main Packages
*** 1.26.0-0ubuntu1 0
100 /var/lib/dpkg/status
Upgrading libaccess-bridge-java in karmic today leads to the following error message:
Error:java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/ext/libjava-access-bridge-jni.so
java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/ext/libjava-access-bridge-jni.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1666)
at java.lang.Runtime.load0(Runtime.java:787)
at java.lang.System.load(System.java:1022)
at org.GNOME.Accessibility.JavaBridge.<init>(JavaBridge.java:352)
[...]
Looking at content of java-access-bridge package (marked as "all", non architecture specific) found this libraries:
/usr/lib/libjava-access-bridge-jni.so.0.0.0
/usr/lib/libjava-access-bridge-jni.a
which are 32 bit on my 64 bit system. Seems that java-access-bridge is architecture specific and cannot be marked as "all".
I had to recompile package for my system in order to avoid link error, and make symlinks of /usr/lib/libjava-access-bridge-jni.so under /usr/lib/jvm/java-6-openjdk/jre/lib/ext.
Needs either a package split or architecture specific package.
References