Sample program for JNI bindings