A question regarding an global jobject. I have a java function calling the startup function in my JNI dll. I want to call now a function on the java side. How can I get the jobject value? I need it for the function call. (The questionmarks in the Output function ) Can I get it somehow from the global jclass? It doesn't work if I generate a global "jobject g_obj;" and set "g_obj = obj;" in the startup jni function and use this value. I have to call the class even if the startup function is returned from a thread, running in a further MFC dll.