Is there an updated version of the JNI spec?
Yes. Please read our JNI Enhancements in JDK 1.2 page. 2. I hear the invocation API got simpler. Can I see some code? If you installed the entire Java 2 SDK v1.2, you should have a file named src.jar in your distribution. If you unpack this file (jar -xvf src.jar should do it), one of the resulting directories is src/launcher. It contains the files that we used to build java, javac, jar and other programs of the “launcher” ilk in the J2SDK. At the time of this writing we do not provide any makefiles or instructions on how to compile these files; nevertheless the source is simple to understand. We will add instructions in a future release. 3. (Windows) JNI_CreateJavaVM always returns -1! Usually, the problem is that you moved or copied the jvm.dll file. The location of jvm.dll is important, it has to be in the directory