this is a simple tutorial for java jni development