Using JavaNativeFoundation.framework with embedded OpenJDK7?

Mike Swingler swingler at apple.com
Wed Nov 2 10:56:28 PDT 2011


On Nov 2, 2011, at 4:22 AM, Tobias Bley (UltraMixer) wrote:

> Hi Mike,
> 
> what's the best way to use your excellent JavaNativeFoundation.framework within a Java Application using a private copy of the OpenJDK7? It wrote a jnilib for accessing Cocoa components but my problem is that this library is linked to /System/Library/Frameworks/JavaVM.framework/Frameworks/JavaNativeFoundation.framework.
> 
> So how can I remove this static linking but using JNF?

JavaNativeFoundation is only present in /System/Library/Frameworks/JavaVM.framework/Frameworks. There is no private copy in OpenJDK, and OpenJDK itself relies on the version in /System. It's full and proper Mac OS X API - so I'd say don't worry about it. :-)

Regards,
Mike Swingler
Java Engineering
Apple Inc.



More information about the macosx-port-dev mailing list