Alex Rivera | Logout

Javax.comm API on 64-bit Windows

Asked 2010-10-18T13:40:47.503
20

I am using the javax.comm API to help my program communicate with hardware over serial port. I am using the Windows 7 and NetBeans IDE 9.

I used the common Java program to check the available ports on my PC. The program compiled and ran without error. However it returned nothing.

What can I do to use the javax.comm API on Windows? It seems win32com.dll does not work with a 64-bit operating system.

Edit
Report

1 Answer

5

Recent 2.2pre versions of RXTX include binaries for 64-bit windows. I think the latest RXTX information source has changed to this: http://rxtx.qbang.org instead of http://www.rxtx.org though.

At one point the RXTX library included drop-in support for using the javax.comm api. I'm not sure if it still does, but the main change then to use the "native" RXTX packaging was primarily just a package name change.

answered 2010-10-18T15:23:01.173

Your Answer