Mac OS X Leopard + Java 1.6

Now that Mac OS X officially includes Java 1.6, I’ve been updating all my java projects to 1.6. So far I’ve had to recompile all native jni libraries as 64-bit architecture (on Intel MacBook Pro), otherwise I get unsatisfied link errors with 32-bit versions. The libjinput-osx.jnilib binary works fine under Java 1.5, but I had to get source from CVS and recompile as 64-bit for Java 1.6 (an easy flag setting).

I’m using the NetBeans C/C++ module to build OS X native libraries (haven’t tried Xcode yet).

Anyone have more insight to Apple’s jni changes for 1.6?

Didn’t find this via search, thought it might help out OS X users.

Java 6 on Mac is only available on Leopard with Intel processors and is only a 64-bit server VM. There is no client VM on Mac because sun did not have a 64-bit client VM to port, apparently.

Hey, I was wondering if you could make your new jnilib available somewhere.
I haven’t been able to properly recompile on my MacPro, yet (it compiled but I always get UnsatisfiedLinkErrors when trying to run the code).

Thanks,
Petra

Hi

It sounds like it’s just not in the library path (or whatever the mac uses), however, there is a binary distro that includes the jnilib here

HTH

Endolf