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!

Loading Shared LIbraries from Jar file

843829Sep 14 2004 — edited Sep 29 2004
Is it possible to load a shared library from a jar file ?? what about other shared libraries linked to/from that library ??

i.e. i have 2 .so files, libMainJNI.so and libFuncs.so. libMainJNI.so uses calls in libFuncs.so. All JNI code is in libMainJNI.so. How can i package these two files into a single jar, along with the class files, so as to produce a single distribution file, rather than a jar and two .so files ??

Many thanks (although i appreciate that im probably asking for the impossible).
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 27 2004
Added on Sep 14 2004
8 comments
2,054 views