JNI library used in framework