在java中询问com串口 [英] asking com serial port in java

查看:69
本文介绍了在java中询问com串口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想在netbean 7.0中测试串口COM测试简单程序。

当我调试CommPortIdentifier.getPortIdentifiers()时,在枚举列表中出现null。如何解决这个问题以及需要哪个jar文件?

hi everyone ,
I want to test serial COM test simple program in netbean 7.0.
When i debug CommPortIdentifier.getPortIdentifiers() , null occur in Enumeration list. How to solve this problem and which jar file is needed ?

推荐答案

参见 http://www.coderanch.com/t/535173/java-io/java/CommPortIdentifier-getPortIdentifiers-empty [ ^ ]。


这篇关于在java中询问com串口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆