removed dead JNI code