How can I use Linux shared libraries in Java?

java, linux, shared-libraries

Solution

The answer is "JNI" :)

Here are a couple of links:

How to compile dynamic library for a JNI application on linux?

http://learn-from-the-guru.blogspot.com/2007/12/java-native-interface-jni-tutorial-hell.html

http://docs.oracle.com/javase/6/docs/technotes/guides/jni/

Problem

Is there any way to call the functions which are in a `so` library from my Java code? Generally, is it possible to use Linux `so` libraries in Java programs?

Original source

Related problems