Need help linking to bundle on OS X
问题 I'm an experienced Java coder, but I'm new to XCode and C++, so sorry for the dumb question. I'm writing some c++ code in XCode that needs to instantiate a Java Virtual Machine. There is a method in the OS X Java plugin called JavaVM_GetJNIEnv(), and a header file in the source code from Sun/Oracle called JavaVM.h with these lines: // Gets the JNIEnv* associated with the Java VM, creating the JVM // instance if necessary. Note that the implementation of this routine // must be prepared for it