>>>>> Andrew Burgess writes:

    Andrew> Ack. RTFM! I did read all the READMEs but forgot the FAQ.

    >> The green threads libjava.so overrides some system calls (open, close,
    >> ...). So you'll have to defer system calls until after the call to 
    >> JNI_CreateJavaVM.

    Andrew> I tried this (thanks for the suggestion). This allows my
    Andrew> app to come up but when I try to create a second JVM it
    Andrew> dies. Is it illegal to create more than one jvm?

RTFM again ;-) From the JNI specification:

        JNI_CreateJavaVM 
        ...
        JDK 1.1 does not support creating more than one VM in a single 
        process.



        Juergen

-- 
Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
Baroper Strasse 301, D-44221 Dortmund, Germany
Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

Reply via email to