cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX installer doesn't starts on Ubuntu 24.04

axel101
Associate III

I try to install STM32CubeMX 6.12.1 on my Ubuntu 24.04.1 and installer gives a following error:

 

 

root:/usr/src/ST/STM32CubeMX/6.12.1# ./SetupSTM32CubeMX-6.12.1 
Check exe path on linux
FullExe path1 is: /usr/src/ST/STM32CubeMX/6.12.1/SetupSTM32CubeMX-6.12.1
Exe path is: /usr/src/ST/STM32CubeMX/6.12.1
Search java from relative path ----
Checking java in /usr/src/ST/STM32CubeMX/6.12.1/./jre/bin/java
current working dir : /usr/src/ST/STM32CubeMX/6.12.1
av[0] ./SetupSTM32CubeMX-6.12.1
chdir to :/usr/src/ST/STM32CubeMX/6.12.1/.
New current working dir /usr/src/ST/STM32CubeMX/6.12.1
Full command: /usr/src/ST/STM32CubeMX/6.12.1/./jre/bin/java
-args[0] java
-args[1] -jar
-args[2] SetupSTM32CubeMX-6.12.1
Command line arguments: 
SEVERE: java.lang.reflect.InvocationTargetException

 

 

Same installer works fine in Ubuntu 22.04 docker container at same PC

1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

Hello @axel101 

As you can see on the release note of the CubeMX, the Ubuntu 24.04.1 is not mentioned as a Supported operating system:

STTwo32_0-1732036812778.png

So, we can't guarantee about if it will work or not.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
STTwo-32
ST Employee

Hello @axel101 

As you can see on the release note of the CubeMX, the Ubuntu 24.04.1 is not mentioned as a Supported operating system:

STTwo32_0-1732036812778.png

So, we can't guarantee about if it will work or not.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.