Initial jni source code