JNI demo project, register native methods on JNI_OnLoad