pub struct Jvm { /* fields omitted */ }
Holds a reference to the embedded JVM.
Tries to instantiate the embedded JVM.
The JNI does not allow the creation of multiple JVMs in the same process (it seems, not even
sequentially). An attempt will result in a panic
.
jvm_option_strings
- a list of JVM option strings.
use rucaja::Jvm;
{
Jvm::new(&["-Xcheck:jni"]);
}
Executes the destructor for this type. Read more