Functional Programming with IOT (FIOT) – Day 3

Well the direct compilation of the code didn’t work. I had to do some tweaks to make it work which included copying the librxtxSerial.jnilib from target to /Library/Java/Extensions.

$ cp $PROJECT_HOME/firmata-test/target/native/macosx/x86_64/librxtxSerial.jnilib /Library/Java/Extensions/

After fixing that issue the project was running with the following warning.

WARNING: RXTX Version mismatch
Jar version = RXTX-2.2pre2
native lib Version = RXTX-2.2pre3

I will add the full source code and the method to run it in my next post. I spent alot of time today just debugging the issue.

Leave a Reply