RXTX cannot list or find ports under windows 7 64 bits

后端 未结 2 1142

Good morning,

I\'m having issues using/or installing rxtx on windows 7 64 bits. I worked with it previously on a x86 win XP system and had no issues. Since reinstall

2条回答
  •  感动是毒
    2021-01-02 18:44

    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 !

提交回复
热议问题