Adding jni