[Debian-med-packaging] Bug#532498: Imagej fails to find libjava-access-bridge-jni.so

Andreas Tille tillea at rki.de
Wed Jun 10 07:02:01 UTC 2009


Hi,

I have the suspicion that this is rather a bug in libaccess-bridge-java-jni than
in imagej because the library does not seem to be registered correctly.  At least
guessing from your workaround I can not see in how far this should be imagej
specific.  Before I reassign the bug I would like to kindly ask Debian Java
Maintainers for comments.

Kind regards and thanks for your bug report

        Andreas.

On Tue, 9 Jun 2009, António dos Anjos wrote:

> Package: imagej
>
> Version: 1.41n
>
> drako:/$ imagej
> Open other images in this ImageJ panel as follows:
>  imagej -p 1 <image1> [<image2> ... <imageN>]
>
> 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)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
> 	at java.lang.Class.newInstance0(Class.java:372)
> 	at java.lang.Class.newInstance(Class.java:325)
> 	at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:786)
> 	at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:874)
> 	at java.awt.Window.getToolkit(Window.java:1170)
> 	at java.awt.Window.init(Window.java:400)
> 	at java.awt.Window.<init>(Window.java:438)
> 	at java.awt.Frame.<init>(Frame.java:419)
> 	at ij.ImageJ.<init>(ImageJ.java:113)
> 	at ij.ImageJ.main(ImageJ.java:528)
>
>
> It worked after I copied libjava-access-bridge-jni.so like this:
> drako:# cp /usr/lib/jni/libjava-access-bridge-jni.so
> /usr/lib/jvm/java-6-openjdk/jre/lib/ext/.
>
>
>
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-med-packaging
>
>

-- 
http://fam-tille.de


More information about the Debian-med-packaging mailing list