STM32CubeProgrammer 2.10.0 does not work on Linux
Hi,
I tried to install STM32CubeProgrammer v2.10.0 on my Kubuntu 20.04.4.
The error I get is CubeProgrammer_API or one of its dependencies is missing.
What I could find from the forum is that could mean the installer used a different Java/OpenJDK version that what the programmer tries to run on. (https://community.st.com/s/question/0D53W0000057GXWSA2/error-cubeprogrammerapi-or-one-of-its-dependencies-is-missing-with-programmer-version-240)
The output from the installer looks like it installed with 1.8.0_265
$ ./SetupSTM32CubeProgrammer-2.10.0.linux
./SetupSTM32CubeProgrammer-2.10.0.linux
/home/arno/Downloads
chdir /home/arno/Downloads/.
current dir /home/arno/Downloads
Command line arguments:
====================
Installation started
Framework: 1.8.0_192-BellSoft-b03 (Oracle Corporation)
Platform: ubuntu_linux,version=5.13.0-40-generic,arch=x64,symbolicName=null,javaVersion=1.8.0_265
Installation finished
[ Writing the uninstaller data ... ]However, the official repositories show only 8u252 and 8u312. So the installer must have come with its own JRE.
I also noticed the programmer comes with its own JRE in <installdir>/STM32CubeProgrammer/bin/jre/
$ .local/STMicroelectronics/STM32Cube_2.10.0/STM32CubeProgrammer/bin/jre/bin/java -version
openjdk version "1.8.0_265"
OpenJDK Runtime Environment (build 1.8.0_265-b01)
OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)This is also 1.8.0_265 but maybe the programmer does not use its own included JRE?
The CLI works though.
What could be the issue here?
Thanks and best regards,
Arno
