java-dev
[Prev] Thread [Next] | [Prev] Date [Next]
Re: jni problems ? Greg Guerin Mon Jun 22 13:00:39 2009
Lars Gustafsson wrote:
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
This error strongly suggests that you are using a 64-bit JVM, and that the jnilib does not contain any 64-bit code. "No matching architecture" is the main signifier.
I have already confirmed that the jnilib does not contain 64-bit code, using this command-line in Terminal.app:
file /usr/lib/java/*dns*So, are you using a 64-bit JVM? If so, is this a requirement, or can you use a 32-bit JVM?
-- GG _______________________________________________ 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]
- jni problems ? Lars Gustafsson
- Re: jni problems ? Pratik Solanki
- Re: jni problems ? Greg Guerin <=
- Re: jni problems ? Lars Gustafsson
- Re: jni problems ? Mike Swingler
- Re: jni problems ? Greg Guerin