When I try to build the project, I found it missing the dependencies and I used the latest RXTX lib but it failed.
import gnu.io.CommPort;
import gnu.io.CommPortIdentifier;
import gnu.io.SerialPort;
import gnu.io.SerialPortEvent;
import gnu.io.SerialPortEventListener;