how to avoid JNI_CreateJavaVM to exit.
Hi,
using W2K with JDK1.3.01.
I have a C (in fact Objective C) program that creates a JVM using JNI_CreateJavaVM. I encountered a case where this function stop my program when a problem occurs (which is when I try to launch in remote debug mode, and it cannot find dlls for this.)
This is a big issue for me, as the expected behavior of my application in this case, is to invalidate any Java-dependant feature, not to quit silently.
(moreover, my belief is that it is a bad design in a function in a library to decide to kill the app in case of error : this is a decision that can be taken by no-one but the app designer itself).
How can I prevent the JVM to quit my app in any case, but instead to send back an error code ?
C.Dore

