2019-10-16 03:26 AM
Hi there!
I just installed the STM32CubeProgrammer and the GUI doesn't come up.
O/S: (cat /etc/os-release )
NAME="Linux Mint"
VERSION="19.2 (Tina)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19.2"
VERSION_ID="19.2"
[...]
VERSION_CODENAME=tina
UBUNTU_CODENAME=bionic
I tried with OpenJDK:
java -version
openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3, mixed mode, sharing)
and
java version "11.0.4" 2019-07-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.4+10-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.4+10-LTS, mixed mode)
and
java version "12.0.2" 2019-07-16
Java(TM) SE Runtime Environment (build 12.0.2+10)
Java HotSpot(TM) 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing)
with and without openjfx_11.0.2+1-1~18.04.2_amd64.deb installed
No matter what JDK is configure or whether openjfx is installed or not, I get this:
STM32CubeProgrammer
Error: Could not find or load main class com.st.app.Main
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
Do you have any hints how to get this up and running?
Thanks!
Wolfram
2019-10-16 04:51 AM
Hi @Wolfram Stumpf ,
Thanks for your feedback.
Java 11 and 12 are not yet supported, can you please use openjdk8 or orcle java8 ?
Regards,
Houda
2019-10-16 05:14 AM
Hi @Houda GHABRI ,
I switched to:
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1ubuntu1~18.04.1-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)
Result:
./STM32CubeProgrammer
Error: Could not find or load main class com.st.app.Main
Regards,
Wolfram
2019-10-17 02:58 AM
Hi @Wolfram Stumpf (Diehl Aerospace) ,
I confirm there is issue with Gui under linux (you can check known problems and limitations in release note for STM32cubeProgrammer).
Devlopement team is already working to fix this issue . I will send you a patch fixing it as soon as it is ready.
Meanwhile you can use CubeProgrammer CLI .
Best regards,
Houda
2019-10-28 10:53 AM
Hello,
i just want to let you know I have the same problem on macOS Catalina.
best regards
fabian