This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
status of JNI on Mac OS X (darwin)
- From: "Geoff Strom" <stromgt at speakeasy dot net>
- To: java at gcc dot gnu dot org
- Date: Tue, 14 Oct 2003 21:34:09 +0000
- Subject: status of JNI on Mac OS X (darwin)
- Sensitivity: Normal
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