Struct rucaja::Jvm [] [src]

pub struct Jvm { /* fields omitted */ }

Holds a reference to the embedded JVM.

Methods

impl Jvm
[src]

[src]

[src]

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.

Arguments

  • jvm_option_strings - a list of JVM option strings.

Example

use rucaja::Jvm;
{
  Jvm::new(&["-Xcheck:jni"]);
}

Trait Implementations

impl Drop for Jvm
[src]

[src]

Executes the destructor for this type. Read more