add jni invoke
---
fix exitconfirm