Program to communicate with serial port using java