Skip to Main Content

Java HotSpot Virtual Machine

how to dynamicaly link multiple shared objects (.so files) using JNI

843829Sep 15 2010 — edited Sep 15 2010
Hi all,
I recently started working on JNI where i suppose to call C application's .so files using JAVA. Existing C application is huge, it contains many .so files which are having dependencies with other .so files. My problem is when i call a function of one .so file it does not link with other .so files at run time and gives me error(undefined function as that function is implemented in other .so file).
Can someone suggest me any solution for the same? I am a Java developer and don't have much knowledge about the C language.
Any suggestion will be highly appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 13 2010
Added on Sep 15 2010
2 comments
671 views