Hi all,

    I'm having trouble loading the java libraries and accessing the
JNI Interfaces using dlopen/dlsym/dlclose.
This works fine on Solaris, but for some reason it fails on Linux.
First I use dlopen to load libjava.so, then
I use dlsym to get the addresses for the JNI Interfaces
(JNI_GetDefaultJavaVMInitArgs,  JNI_CreateJavaVM,
JNI_GetCreatedJavaVMs) and call each as appropriate, but right after I
load the library, I start getting
"Tried to free bogus memory X, ignored" and after server hundred of
these messages, I segv with s"tackbase=(nil),
stackpointer=(nil) Full thread
dump: NULL (TID:0xAddress,sys_thread_t:0xAddress, state:R) prio=5" .
Any ideas?  I'm not actually on the mailing list, so if you could reply
directly to me as well as the list, I'd appreciate
it.  I downloaded the 1.1.7v1a native threads version of the JRE and it
fails same way.

Thanks!

kenbo

--
        Kenneth & Susan

        [EMAIL PROTECTED](hm)  [EMAIL PROTECTED](wk)
        http://www.mediaone.net/~kenbo
        http://paladin.ne.mediaone.net/~kenbo

        Firebirds rule, 'stangs serve!


Reply via email to