remove obsolete jni wrapper