Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > loading jvm (libjvm.so) and setting LD_LIBRARY_PATH

Reply
Thread Tools

loading jvm (libjvm.so) and setting LD_LIBRARY_PATH

 
 
Naresh Agarwal
Guest
Posts: n/a
 
      06-30-2005
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting LD_LIBRARY_PATH env variable for child process Lax Perl Misc 2 04-14-2007 07:27 AM
setting LD_LIBRARY_PATH through eclipse Spitfire Java 2 02-15-2007 12:22 PM
Compiling cx_Oracle and LD_LIBRARY_PATH Brian Cole Python 0 01-21-2006 09:58 PM
Problem with setting LD_LIBRARY_PATH Moritz Karbach Perl Misc 3 04-21-2005 06:18 PM
$LD_LIBRARY_PATH, cx_Freeze and wxPython Simon John Python 2 09-19-2004 07:31 AM



Advertisments