I've removed the explicit JAWT link on OSX and cleaned up some of the
other OSX-specific options. You will probably need to build against
the 10.3sdk instead of 10.4sdk, and possibly force the use of gcc-3.
I don't have a 10.3 system to test on, so I'd rather not muck about
with that until someone shows that it works.
On Jul 28, 2007, at 9:14 AM, Chris Sewart wrote:
I've been trying to get JNA running on a Mac running 10.3. As soon
as I call anything I get an exception trying the load the JNA
libjnidispatch.jnilib. It seems that this has been linked with the
AWT dynamic library, but seems to be trying to load it from:
Which I figured would be valid on any machine, but this is a
symlink that resolves to Java 5 (on my dev machine) so I wind up
with a library with the same problem. I confess to knowing next to
nothing about linking dynamic libraries on OS X so am a bit
stumped. Surely there must be a way of linking to 'the current
Has anybody else got JNA running on a Mac that doesn't have Java 5
p.s. JNA is a great library by the way: Once I 'got' how to use
it, calling the odd bits of native code I need has been a breeze.