for jni support
for jni support