This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: invocation interface


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]