Fazecast / jSerialComm

Platform-independent serial port access for Java
GNU Lesser General Public License v3.0
1.34k stars 287 forks source link

empty serial ports when using jar version of 2.6.2 #289

Closed martinWANG2014 closed 2 years ago

martinWANG2014 commented 4 years ago

Hello, I downloaded the latest jar with a version of 2.6.2. However, when I called "SerialPort[] ports = SerialPort.getCommPorts();" , ports is empty both on ubuntu and win10 platform.

hedgecrw commented 3 years ago

What type of serial ports are you expecting to see? In Windows, if you open Device Manager, what is listed under the "Ports (COM & LPT) heading"?

hedgecrw commented 2 years ago

Closing as duplicate of #305.