Youssef
>I try to execute a simple JNI application and follows all steps to build
>java app with native code. My class work fine with default java5se coming
>with Leopard but when I compile and execute the same class with
>javase6dp8, it throws this exception:
>
>Exception in thread "main" java.lang.UnsatisfiedLinkError:
>/usr/lib/java/libDrm.dylib:
>at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
>at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1746)
>at java.lang.Runtime.loadLibrary0(Runtime.java:823)
>at java.lang.System.loadLibrary(System.java:1030)
Java 6 DP8 is 64-bit only. So is DP9. Read their release notes.
You will have to compile your JNI-lib for 64-bit.
There is a 64-bit Java 5 on Leopard, so you can run your 64-bit jnilib on
Java 5 and it should work.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden