Workinf on JNI