typedef strUCt JavaVMInitArgs { /*JVM Version .It must be JNI_VERSION_1_2 or JNI_VERSION_1_4 or JVM will interPRet pointer as a JDK1_1InitArgs*/ jint version; /*number of JVM options*/ jint nOptions; JavaVMOption *options; /*see definition of JavaVMOption below*/ /*JVM option status. if JNI_TRUE, ignore options VM does not understand otherwise return JNI_ERR if there are any unrecognized options*/ jboolean ignoreUnrecognized;} JavaVMInitArgs; /*Definition of JavaVMOption*/
typedef struct JavaVMOption { char *optionString; /*a string containing the argument*/ /*extra info to the JVM.Not important.*/ void *extraInfo;} JavaVMOption; JNI_CreateJavaVM