Remy,
This is a known problem on all versions of Java. Here is the quote from
the Java Series Book, "The Java Native Interface" by Sheng Liang:
"Unfortunately, you cannot unload the Java virtual machine implementation
in JDK release 1.1 or Java 2 SDK release 1.2. DestroyJavaVM always
returns a
[EMAIL PROTECTED]
cc:(bcc: Mark Delafranier/SYBASE)
Subject: Help JNI DestroyJavaVM
I use JDK 1.2 with RedHat 6.0 Linux 2.2.5-15
I invoke the Java Virtual Machine from a program C as described in the
example of the tutorial
At the end of this program, I call (*jvm)->DestroyJavaVM(jv
I use JDK 1.2 with RedHat 6.0 Linux 2.2.5-15
I invoke the Java Virtual Machine from a program C as described in the
example of the tutorial
At the end of this program, I call (*jvm)->DestroyJavaVM(jvm) but it
returns -1.
So it seems that the Java Virtual Machine has not been destroyed, and