kill unused jni stuff