createJavaVM

Loads and initializes a Java VM. The current thread becomes the main thread.

Creation of multiple VMs in a single process is not supported.

Return

A pair of JavaVM and JniEnv of the main thread.

Parameters

args

The initialization arguments for the Java VM.

See also