Introduction - If you have any usage issues, please Google them yourself
This an example of how to use JNI to interface from Java to C and back. It shows how to call C code from java, how to pass data from java to C and the other way around.
Build using the build.sh shell script.