- All Known Implementing Classes:
- DTFJJavaVMInitArgs,- JavaVMInitArgs,- JCJavaVMInitArgs
public interface JavaVMInitArgs
Represents the JavaVMInitArgs C structure passed to JNI_CreateJavaVM
 to create the Java runtime.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intThe JNI specified version constant for the Java 1.1 version of JNIstatic final intThe JNI specified version constant for the Java 1.2 version of JNIstatic final intThe JNI specified version constant for the Java 1.4 version of JNIstatic final intThe JNI specified version constant for the Java 1.6 version of JNI
- 
Method SummaryModifier and TypeMethodDescriptionbooleanFetch the ignoreUnrecognized field from the JavaVMInitArgs structure used to create this VM.Fetch the options used to start this VM, in the order they were originally specified.intFetch the JNI version from the JavaVMInitArgs structure used to create this VM.
- 
Field Details- 
JNI_VERSION_1_1static final int JNI_VERSION_1_1The JNI specified version constant for the Java 1.1 version of JNI- See Also:
 
- 
JNI_VERSION_1_2static final int JNI_VERSION_1_2The JNI specified version constant for the Java 1.2 version of JNI- See Also:
 
- 
JNI_VERSION_1_4static final int JNI_VERSION_1_4The JNI specified version constant for the Java 1.4 version of JNI- See Also:
 
- 
JNI_VERSION_1_6static final int JNI_VERSION_1_6The JNI specified version constant for the Java 1.6 version of JNI- See Also:
 
 
- 
- 
Method Details- 
getVersionFetch the JNI version from the JavaVMInitArgs structure used to create this VM. See the JNI specification for the meaning for this field.- Returns:
- the JNI version
- Throws:
- DataUnavailable
- CorruptDataException
 
- 
getIgnoreUnrecognizedFetch the ignoreUnrecognized field from the JavaVMInitArgs structure used to create this VM. See the JNI specification for the meaning of this field.- Returns:
- true if ignoreUnrecognized was set to a non-zero value with the VM was invoked
- Throws:
- DataUnavailable
- CorruptDataException
 
- 
getOptionsFetch the options used to start this VM, in the order they were originally specified.- Returns:
- an Iterator over the collection of JavaVMOptions
- Throws:
- DataUnavailable
- See Also:
 
 
-