Got stuck with jni