Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PortInUseException - Java Serial Communication

I’m developing an application for serial communication in Java with RXTX.

Now I’m getting an error:

Port already in use: gnu.io.PortInUseException: Unknown Application

while opening a port, but it seems the port is not used by any other application.

like image 934
Mukthi Avatar asked Mar 19 '26 05:03

Mukthi


1 Answers

In MS Windows you must reboot system after disabling COM-port and then enable them again (no second reboot needed).

like image 91
Begemoth Avatar answered Mar 21 '26 17:03

Begemoth