Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using JNF (Was: Calling Java from native code)



On Nov 2, 2009, at 12:08 PM, Tomas Hurka wrote:

On 2 Nov 2009, at 18:53, Paul J. Lucas wrote:

How does one link to JNF?  Under:

/System/Library/Frameworks/JavaVM.framework/Frameworks/ JavaNativeFoundation.framework

Use -framework JavaNativeFoundation for more details see man page for ld command.

I did. It doesn't change the apparent fact that there are no libraries in said framework to link against.


I think you also need a:

-F/System/Library/Frameworks/JavaVM.framework/Frameworks

because JNF is a subframework and therefore its path isn't in the default set to search for frameworks.

Even with all that: again, there's apparently nothing to link against.

- Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Using JNF (Was: Calling Java from native code) (From: "Paul J. Lucas" <email@hidden>)
 >Re: Using JNF (Was: Calling Java from native code) (From: Tomas Hurka <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.