Package: openjdk-7-jre-headless
Severity: important

OpenJDK 7 doesn't search for JNI libraries in system multiarch location
/usr/lib/<arch>/jni.

With eclipse-cdt-jni package installed, following trivial program succeeds
on OpenJDK 6 (on amd64):

class Test {
        public static void main(String[] args) {
                System.loadLibrary("pty");
                System.out.println("Library loaded successfully");
        }
}

However, when run with OpenJDK 7, it ends with an exception:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no pty in 
java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1856)
        at java.lang.Runtime.loadLibrary0(Runtime.java:845)
        at java.lang.System.loadLibrary(System.java:1084)
        at Test.main(Test.java:4)

Regards,

Jakub


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to