JNI not working on SoyLatte

Mike Swingler swingler at apple.com
Mon Apr 14 14:32:00 PDT 2008


On Apr 14, 2008, at 1:17 PM, Trevor Harmon wrote:

> I cannot get JNI working with SoyLatte 1.0.2. The same code and JNI  
> library works fine with the default Java 1.5 installation in Mac OS  
> X 10.5.2, but switching to SoyLatte causes an UnsatisfiedLinkError.  
> Apparently the C library is not loading correctly. I tried both the  
> 32-bit and 64-bit versions of SoyLatte but got the same result.
>
> Is this a known issue? I didn't see anything about JNI on the  
> SoyLatte project page.

Have you tried renaming the native file .dylib instead of .jnilib?

Cheers,
Mike Swingler
Java Runtime Engineer
Apple Inc.



More information about the porters-dev mailing list