Question about JDK-8024281 Mac OS X: stop relying on Apple's	JavaVM Frameworks
    David DeHaven 
    david.dehaven at oracle.com
       
    Sat Nov 22 00:07:32 UTC 2014
    
    
  
>> Are you linking against JavaVM.framework?
> 
> If you’re not using Xcode but instead gcc somehow that would be…
> -framework JavaVM
> If you’re trying for a single launcher that will work with multiple versions of the framework. I’m not sure how that would work.
Using -framework JavaVM used to be a means to getting jni.h in the header search path. Unfortunately it also links against the library which nowadays you do not want to do. Building against JavaRuntimeSupport and/or JavaNativeFoundation also pull in JavaVM.
-DrD-
    
    
More information about the macosx-port-dev
mailing list