title: Can I store the JNI Java Env variable?
body: <p>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.</p>
  
  <p>Is that possible?</p>
  
  <p>EDIT ----</p>
  
  <p>I want to get the JavaVM Interface outside of the JVM, something like this method:</p>
  
  <ul>
  <li>GetJavaVM returns the JavaVM interface pointer for the current virtual machine instance. </li>
  </ul>