I'm using Atollic TrueStudio on Ubuntu 18.04. I am trying to Launch Terminal to communicate with a Nucleo board through the serial port, but the window no show the port's list and the program show in the terminal the following error:
Code: Select all
Forcing property named 'libNRJavaSerial.userlib' to value 'sys'
java.lang.UnsatisfiedLinkError: no libNRJavaSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver
java.lang.NoClassDefFoundError: [b]Could not initialize class gnu.io.RXTXCommDriver[/b] thrown while loading gnu.io.RXTXCommDriver
The library librxtx-java is installed. The *.so files are at /usr/lib/jni/ and the *.jar files are in /usr/share/java (I have experience working with Java and the serial port http://rodrigotufino.info/2018/06/15/java-serial-port-communication-arduino-ubuntu-1804/)
I have tried whit this tutorial: https://stackoverflow.com/questions/10751304/java-lang-unsatisfiedlinkerror-no-rxtxserial-in-java-library-path-thrown-while. I modified the file /opt/Atollic_TrueSTUDIO_for_STM32_x86_64_9.3.0/ide/TrueSTUDIO.ini adding -Djava option with the paths of librxtx-java installation. But not work.
I would like use the terminal inside TrueStudio and avoid external tools.
Thanks for your atention.