JNI - creating multiple JVMs
Posted on 2001-07-10
I'm trying to start 2 JVMs in the same process but each in a different thread. I need to give each one different
arguments (one for debugging, one not debugging).
Unfortunately the second time I call JNI_CreateVM, the value -5 is returned, meaning "JVM already started".
Does anyone have any hints or example code. I'm running Java1.2 on NT, Solaris and Linux.
Thanks in advance,