Hello everybody
I try to build this code . But, I have every time error. Can you help me?
package Main;
import com.fazecast.jSerialComm.SerialPorts;
public class Starter {
public static void main(String[] args) {
System.out.println("Hello world");
SerialPort[] ports = SerialPort.getCommPorts();
for (SerialPort port: ports) {
System.out.println(port.getSystemPortName());
}
}
}
Thanks