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.