added a jni demo