add a c++ and JNI DEMO