Newbie JNI Question
I'm trying to call one of my java objects from inside an Objective-C method in an application I'm building using XCode.
I'm new to Apple programming so I've been stumpted by a simple problem. In order to get a pointer to the already-running Java VM from inside Objective-C, I'm trying to call the global JNI_GetCreatedJavaVMs. The definition of this function is included in jni.h, and my .m file compiles just fine. But the linker complains that it can't find the library that implements the function.
I have no idea how linking takes place in XCode. Is there someone out there who might be able to walk me through this? I guess the most important question is: where to I find the library?
Mac OS X (10.4.6)