5/12 I'm having a wierd problem with the JNI. I have a class with some
native functions, and in that class I use the statandard
static{System.LoadLibrary("x")} call. I have to similar
programs, in one I have Java call the native claases. This works
fine. In the second, everything is the same except C starts up
the JNI, which then instantiates this class, which calls
loadLibrary. This one crashes, badly, on the loadLibrary call.
What the crap is up with that?
\_ What do you mean by "C starts up the JNI"? The JNI is an API.
Do you mean that you are starting up a JVM in a C program?
-williamc
\_ Sorry, yes, starting up the JVM in a C program.
\_ How are you starting the VM? Are you forking a new process
to start the VM? Are you calling it using something like
sys? |