Removing JNI reference in shell script