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)



Paul J. Lucas wrote:

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


Post what you see in JavaVM.framework. Also post your OS and JVM versions.

A framework's library code isn't necessarily in a Libraries sub-dir. For example, the JavaVM.framework has a JavaVM symlink in JavaVM.framework, not one level down in the Libraries sub-dir. Also see Kerberos.framework, Message.framework, etc.

I see a 300+ KB file at JavaVM.framework/Versions/A/Frameworks/ JavaNativeFoundation.framework/Versions/A/JavaNativeFoundation. And the 'file' command tells me it's a fat mach-O dylib, which is exactly what I would expect for a framework.

If you don't have that, then maybe you have a damaged install, or a version of Java that doesn't have JNF.

  -- GG
_______________________________________________
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


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.