Hi, I'm making a lib so that cpp apps can communicate with the JVM. Suppose that the JVM has already started how can I make a cpp binary communicate with the JVM? I think the best solution is to store the JNI env variable in the shared object (so) so I can include it on the cpp and use later.
Is that possible?
EDIT ----
I want to get the JavaVM Interface outside of the JVM, something like this method:
- GetJavaVM returns the JavaVM interface pointer for the current virtual machine instance.