How to get list of available serial ports in my pc using Java?

不打扰是莪最后的温柔 提交于 2019-11-30 20:12:49

It appears your setup of the javax.comm API may not be correct. Make sure you have done the following:

  1. Placed the comm.jar file in the jre/lib/ext directory.
  2. Placed the javax.comm.properties file in the jre/lib directory.
  3. Placed the win32com.dll in the jre/bin directory.

Each of the above components "should" be available here.

Marcelo Amorim

I'm using ubuntu and my computer does not have any serial/pararel port.

You need to simulate this ports in this case.

My answer:

serial port identification with java on ubuntu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!