fixed lock err and data_slen
add jni demo
build lib