That sounds really weird. XCode used to take care of it (somehow) if
one would simply add the JNI to the classpath, and tell XCode to
merge it into the application jar. Now, I can't imagine XCode being
Java-smart enough to actually do what you describe because it detects
that one of the add
Not without some magic (and this isn't an Eclipse thing, this is just
a Java thing) ... As part of your startup, you have to read the JNI
file out of the jar and write it to the filesystem and then load that
library. This is what Eclipse does, for instance, with SWT. I don't
know of any w
Mike,
Thanks for the answer... However, what if I need to bundle the JNI
with my app, within the jar (so, within the bin output folder)? I am
sure this is technically possible because I used to do it with
XCode... Is there some way I can do that with Eclipse?
Flor
On Mar 04, 2008, at 12:
JNI will load out of the working dir (project root usually), /Library/
Java/Extensions, or it will look for JNI libraries in the folder
specified by the system property "java.library.path", which you should
be able to set on your launch config.
ms
On Mar 4, 2008, at 11:46 AM, Florijan Stame
Hi all,
Could someone tell me how to add jnilib files to the classpath of a
project? Many places in Eclipse insist on jars. I've tried simply
putting the file in the root of my source tree, ensured it was there
in the root of the bin output, but still it was not detectable within
my app.