RXTX装配使用笔记
RXTX安装使用笔记
和sun提供的comm包API用法一样,只是包名不同而已
RXTX主页:http://users.frii.com/jarvi/rxtx/index.html
RXTX下载地址:http://rxtx.qbang.org/wiki/index.php/Download
1 将 "rxtxSerial.dll" 拷贝到 "%JREHOME%\bin" 目录下;
2 将 "RXTXComm.jar" 拷贝到"%JREHOME%\lib\ext"目录下。
--------------------------------------------
Using RXTX In Eclipse
- Copy RXTXcomm.jar, rxtxSerial.dll and rxtxParallel.dll files to the lib directory of your project
- Under Project | Properties | Java Build Path | Libraries
- click Add JARs... Button
- Select the RXTXComm.jar from lib directory
- Jar should now be in the Build Path
- expand the RXTXComm.jar entry in the list and select "Native Library Location"
- Select the project lib directory and apply
Be careful when using System.in.read() and rxtx in win32; It can trip across a known JRE deadlock
1 楼
xcg9593
2010-01-08
请问,有应用实例吗 谢谢
2 楼
jerryqiu007
2010-01-08
xcg9593 写道
请问,有应用实例吗 谢谢
和sun提供的comm包API用法一样,只是包名不同而已
3 楼
ivy013
2010-03-18
RXTXComm有源码吗?我好像cvs连接qbang.org连不上。