Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
jni problems ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

jni problems ?



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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.