N
Naresh Agarwal
Hi
I'm writing a program to use JNI Invocation APIs on linux/solaris,
i.e., calling a Java program from C/C++.
I'm dynamically loading the JVM library and then calling
"JNI_CreateJavaVM" function after getting the symbol. I'm providing the
*full path* the libjvm.so to be loaded.
Now after specifying the full path of libjvm.so, do we need to specify
any thing extra in LD_LIBRARY_PATH (i.e., location of any other
libraries, which may be loaded by libjvm.so)?
Is there any documentation/guideline for setting the LD_LIBRARY_PATH
while loading libjvm.so and creating VM
thanks,
Naresh
I'm writing a program to use JNI Invocation APIs on linux/solaris,
i.e., calling a Java program from C/C++.
I'm dynamically loading the JVM library and then calling
"JNI_CreateJavaVM" function after getting the symbol. I'm providing the
*full path* the libjvm.so to be loaded.
Now after specifying the full path of libjvm.so, do we need to specify
any thing extra in LD_LIBRARY_PATH (i.e., location of any other
libraries, which may be loaded by libjvm.so)?
Is there any documentation/guideline for setting the LD_LIBRARY_PATH
while loading libjvm.so and creating VM
thanks,
Naresh