By default, if the first call into the JavaVM framework is JNI_CreateJavaVM where JNI_VERSION_1_2 specified, the Java 1.3.1 virtual machine (VM) is used. This is done to maintain backward compatibility with the Java 1.3.1 version of applications that may already be in use on the system. If you need to use the 1.4.1 VM and link against the 1.4.1 version of jni.h, pass JNI_VERSION_1_4 instead of JNI_VERSION_1_2. If you call JNI_GetDefaultJavaVMInitArgs before JNI_CreateJavaVM you will also get Java 1.4.1.
Last updated: 2003-06-11