java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path

前端 未结 12 1235
南笙
南笙 2020-11-29 05:14

I am trying to use the 64 bit rxtx serial communication library (downloaded from cloudhopper) with 64bit windows 7 and eclipse. I get the message: java.lang.Unsatisfi

12条回答
  •  清酒与你
    2020-11-29 06:01

    Hy, I had the same problem when integrating the RXTXcomm into Netbeans under Ubuntu 11.10. I am guessing that you are not copying the files in the right place, at least that was my problem.

    Under Ubuntu java is installed under usr/lib/jvm. BUT here I had a lot of forders (ex java-7-openjdk-i386, java-7-common, java-6-openjdk ...). In Netbeans I check what is the path of the JDK included into the project, it was java-7-openjdk-i386 . so I took the rxtxSerial.so (under windows it is rxtxSerial.dll) and copied it to java-7-openjdk-i386/jre/bin and it worked like a charm .

    I hope this helps.

提交回复
热议问题