dcsimg
Problem in running JNI application in netbeans
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Prashant_Bhole
Posted On:   Tuesday, May 16, 2006 12:15 AM

Platform: Linux I am loading a shared library (say libJniDemo.so) using System.loadLibrary(). When I call some function in that library, it has to load another library (say libotherlibrary.so) using "dlopen()" call. JavaApplication -----> libJniDemo.so ----> libotherlibrary.so It works fine in console by setting LD_LIBRARY_PATH. Now in netbeans, I am setting "java.library.path" in project propeties, to the place where my libraries are located. libJniDemo.so get loaded, but it library cannot find the other library (libotherlibary.so). Is there any setting in netbeans which will solve this problem?    More>>

Platform: Linux


I am loading a shared library (say libJniDemo.so) using System.loadLibrary(). When I call some function in that library, it has to load another library (say libotherlibrary.so) using "dlopen()" call.


JavaApplication -----> libJniDemo.so ----> libotherlibrary.so


It works fine in console by setting LD_LIBRARY_PATH.


Now in netbeans, I am setting "java.library.path" in project propeties, to the place where
my libraries are located. libJniDemo.so get loaded, but it library cannot find the other library (libotherlibary.so). Is there any setting in netbeans which will solve this problem?

   <<Less
About | Sitemap | Contact