I'm using a library that calls the JNI_CreateJavaVM
function inside the library code. However, I also need some JNI Wrappings and I need to call the same function JNI_CreateJavaVM
to get the JNIEnv*
to my application.
But the second call is failing.
is there any way to do this?
The library does not support getting or setting the JNIEnv*
created inside the library.