Hi

I am writing a pkcs11 module for a software based token that I wrote in
Java. So I have to start the JVM from C code (used in the pkcs11 module)
using the invocation API.

I have written most part of my pkcs11 module. If I use my test application
to load and call pkcs11 functions, things work fine. However, if I use
netscape, the JVM initialization functions (JNI_GetDefaultJavaVMInitArgs
and JNI_CreateJavaVM) both return invalid results.

I have checked the environment in both cases and it seems to be the same
(specifically LD_LIBRARY_PATH is set to the correct values in both cases).
Are there any peculiarities I need to know about Netscape loading shared
libraries? Anyone else has experience doing this sort of stuff?

Asad




Reply via email to