Class TO JNI script