java-dev

[Prev] Thread [Next]  |  [Prev] Date [Next]

jni problems ? Lars Gustafsson Mon Jun 22 12:01:05 2009

When trying to call "DNSSDService b = DNSSD.browse(typeName, this);" on a Intel Mac, it fails when running an app created with the JarBundler ant-task.

On a G4 it works, and when creating a executable jaj-file it works on all plattforms.

2009-06-22 20.47.12 [0x0-0x41041].AxeptX-1.13[3431] Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: /usr/lib/ java/libjdns_sd.jnilib: no suitable image found. Did find: /usr/lib/ java/libjdns_sd.jnilib: no matching architecture in universal wrapper 2009-06-22 20.47.12 [0x0-0x41041].AxeptX-1.13[3431] at java.lang.ClassLoader$NativeLibrary.load(Native Method) 2009-06-22 20.47.12 [0x0-0x41041].AxeptX-1.13[3431] at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1881) 2009-06-22 20.47.12 [0x0-0x41041].AxeptX-1.13[3431] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1798) 2009-06-22 20.47.12 [0x0-0x41041].AxeptX-1.13[3431] at java.lang.Runtime.loadLibrary0(Runtime.java:823) 2009-06-22 20.47.12 [0x0-0x41041].AxeptX-1.13[3431] at java.lang.System.loadLibrary(System.java:1047) 2009-06-22 20.47.12 [0x0-0x41041].AxeptX-1.13[3431] at com.apple.dnssd.AppleDNSSD.<clinit>(DNSSD.java:593) 2009-06-22 20.47.12 [0x0-0x41041].AxeptX-1.13[3431] at java.lang.Class.forName0(Native Method) 2009-06-22 20.47.12 [0x0-0x41041].AxeptX-1.13[3431] at java.lang.Class.forName(Class.java:169) 2009-06-22 20.47.12 [0x0-0x41041].AxeptX-1.13[3431] at com.apple.dnssd.DNSSD.<clinit>(DNSSD.java:526) 2009-06-22 20.47.12 [0x0-0x41041].AxeptX-1.13[3431] at com.apparatkonsult.axept.AxeptBonjour.<init>(AxeptBonjour.java:85) _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      ([EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/alexiscircle%40gmail.com

This email sent to [EMAIL PROTECTED]