RXTX cannot list or find ports under windows 7 64 bits

半世苍凉 提交于 2019-11-30 14:21:55

I got the same problem. I use Eclipse as IDE for programming and i found this alternative configuration in the official wiki:

  1. Copy RXTXcomm.jar to the lib directory of your project
  2. Navigate your package explorer to the lib folder, right click on RXTXcomm.jar | Build Path | Add to built path
  3. Copy rxtxSerial.dll and rxtxParallel.dll files to the root directory of your project
  4. Under Run | Run configurations | Classpath tab | User entries | Advanced | Add folder, choose the root folder of your project
  5. This should be enough just to run it under Eclipse, when deploying a runnable jar, just make sure the dlls are on the same folder as the jar (JVM assumes it for classpath)

(It's my first answer, i don't know if i'm allowed to post an external link, but the five step come's from http://rxtx.qbang.org/wiki/index.php/Using_RXTX_In_Eclipse )

Hope it help !

It appers to work for me using Windows 7 and 64-bit versions of Java and RXTX (cloudhopper version)

Are you sure you have a COM1?