loading jvm (libjvm.so) and setting LD_LIBRARY_PATH
- From: "Naresh Agarwal" <nagarwal@xxxxxxxxxxxxxxx>
- Date: 30 Jun 2005 04:20:33 -0700
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
.
- Prev by Date: Re: A button close in JDialog
- Next by Date: Re: Defining a constructor in an Interface
- Previous by thread: Utility class to check validity of package, class, and method name
- Next by thread: Code Review Request
- Index(es):