Re: Finding jnilib on Xcode (that's linked to dylib file)
Re: Finding jnilib on Xcode (that's linked to dylib file)
- Subject: Re: Finding jnilib on Xcode (that's linked to dylib file)
- From: "Jack Nutting" <email@hidden>
- Date: Fri, 6 Oct 2006 09:28:42 +0200
On 10/5/06, Inge Yuwono <email@hidden> wrote:
What setting do I need to do so that the application could find the jnilib?
I encountered similar problems recently. First, are you passing the
full path to your jnilib to System.loadLibrary()? If so, you
shoudn't; you just just pass the name of the lib WITHOUT the .jnilib
extension, and it should be able to find it in the java path (e.g. the
current directory or /Library/Java/Extensions). However, this didn't
actually work for me. What I ended up doing is passing the full path
of my jnilib, INCLUDING the .jnilib extension, to System.load()
instead of loadLibrary(), and that works fine.
PS: This is probably somewhat off-topic for the xcode-users list.
Perhaps macosx-dev would have been more appropriate?
--
// jack
// http://www.nuthole.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden