Skip to main content
axel101
Associate II
November 19, 2024
Solved

STM32CubeMX installer doesn't starts on Ubuntu 24.04

  • November 19, 2024
  • 1 reply
  • 3388 views

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

Best answer by STTwo-32

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

1 reply

STTwo-32
STTwo-32Best answer
Technical Moderator
November 19, 2024

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