Simple JNI example