Serial port communication in java