Fixing JNI calls, should be ready for integration