WTF! JNI works only if jni headers was generated