This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

status of JNI on Mac OS X (darwin)


Has anyone been able to get JNI calls to work on Mac OS X (darwin)?

I'm trying to get a SWT application to work and while GCJ compiles
everything successfully, the application always dies on launch with an
UnsatisfiedLinkException (aka it can't find the swt library).

I'm using GCC 3.3.1 on Jaguar (10.2.8) and I have dlcompat installed.
I've tried using the IBM supplied swt jnilib, I've tried it re-packaged
as a dylib, and I've even tried linking it into my binary as a static .a
library. I've tried setting the LD and DYLD_LIBRARY_PATHs, I've tried
moving the libraries to /usr/lib, all without success.

Looking for ideas.

-Geoff




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]