Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

Xavier Ribas

Hi!

Have you tried creating a new profile directly from "Application properties"?

Captura de Pantalla 2019-11-18 a les 9.33.36.png

Captura de Pantalla 2019-11-18 a les 9.33.58.png

On the other hand, do you see any error/warning in the "Message log" window when you try to execute the deployment profile?

1 - 1
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
1,038 views