Kenneth & Susan writes:
 > 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

Just like I did. Happens with all JDK's including 1.1.6v5.
It even happens in the JDK 1.1.7v1a native thread port.
I've been told that there are wrappers now around the libdl
functions, but it doesn't seem to do the trick. I got a
small test program ("inload") source I am going to submit
to the group - Jitterbug if the Routers That Be grace me
with web access some time soon, e-mail else.


                                                b.

Reply via email to