How to do JNI in Linux

hi guys,

i am new to Linux plotform

i have some .so files writen in C++

and i have the Java code. But how to call the methods in .SO file from Java thru JNI.

thanx in advance.

Subbu

[218 byte] By [Subbu_javaa] at [2007-11-27 11:32:02]
# 1

Subbu,

Here's a link to a short tutorial on using JNI [ http://www.javaworld.com/javatips/jw-javatip141.html ]. I find working thru even a simple tutorial to be helpful. The other place is the following link [ http://java.sun.com/docs/books/jni/html/jniTOC.html ], although I'd work thru one or more tutorials before diving into the Sun docs.

hth,

adym

adym-lincolna at 2007-7-29 16:43:14 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2

Thank you colin,

i hope this will be useful for me.

i will let u know once i got the output

Subbu_javaa at 2007-7-29 16:43:14 > top of Java-index,Java HotSpot Virtual Machine,Specifications...