Fix Neobotix USBoardGUI for Ubuntu

Problem

The Java Based GUI supplied by Neobotix needs librxtx-java installed to open.

java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver
java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path

Solution


  1. sudo apt install librxtx-java

  2. Verify the following .so files installed at /usr/lib/jni:

    librxtxI2C-2.2pre1.so
    librxtxI2C.so
    librxtxParallel-2.2pre1.so
    librxtxParallel.so
    librxtxRaw-2.2pre1.so
    librxtxRaw.so
    librxtxRS485-2.2pre1.so
    librxtxRS485.so
    librxtxSerial-2.2pre1.so
    librxtxSerial.so



  3. Also don't forget to add your username to the dialout group.

    sudo usermod -G dialout -a $USER