Jni development demo for serial port reading and writing