steand / optolink

optolink adapter to vitotronic for openhab2
GNU Lesser General Public License v3.0
12 stars 19 forks source link

WARNING: RXTX Version mismatch #16

Closed Trainerr closed 5 years ago

Trainerr commented 5 years ago

Hello,

i installed RXTX via sudo apt-get install librxtx-java.

After i try to start start_debug.sh i got this error message

========================================= Native lib Version = RXTX-2.2pre2 Java lib Version = RXTX-2.1-7 WARNING: RXTX Version mismatch Jar version = RXTX-2.1-7 native lib Version = RXTX-2.2pre2 RXTX fhs_lock() Error: creating lock file: /var/lock/LCK..ttyAMA0: Die Datei e13:36:04.290 [main] ERROR de.myandres.optolink.Main main - Something is wrong not init gnu.io.NoSuchPortException: null

How can i solve this problem?

Trainerr commented 5 years ago

I found a solution.

I copy the class files from “RXTXcomm-2.2pre2.jar” file to my *.jar file and now the mismatch problem is solved.