Add except demo for jni