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

Reply via email to