Modified multiRead JNI