invocation interface

Cedric Berger cedric@wireless-networks.com
Wed May 16 07:58:00 GMT 2001


Jeff Sturm wrote:

> In the JDK 1.2 and higher the "java" launcher program uses JNI.  Perhaps
> it never really calls DestroyJavaVM at all, but just falls off the end
> of main?  This seems like a flawed design.

The source code for the launcher is freely available if you've any Java2 JDK
on you box. Very useful to create custom launcher. Take a look at it first.
The main code ends with:

-------------
    leave:
        (*vm)->DestroyJavaVM(vm);
        return ret;
    }
-------------

Cedric




More information about the Java mailing list