RXTX can't list port on ubuntu
问题 I'm trying to run simple code: import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.OutputStream; import gnu.io.CommPortIdentifier; import gnu.io.SerialPort; import gnu.io.SerialPortEvent; import gnu.io.SerialPortEventListener; import java.util.Enumeration; public class SerialTest implements SerialPortEventListener { SerialPort serialPort; private BufferedReader input; private OutputStream output; private static final int TIME_OUT = 2000; private static final int