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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What OS are you using? How did you confirmed that Port is not used by other application?
If on windows, go to Device Manager to see if the driver is installed and Port is enabled to be used by applications. I would say if everything looks good, disable the port and re-enable it.