JNI for linux platform was corrected