cancel
Showing results for 
Search instead for 
Did you mean: 

Error installing STM32CubeMX 6.0.0 on MACOS Monterey 12.6 with M1

NGadi.1
Associate

I have succeed download the file from your website containing the installation file0693W00000UnB63QAF.pngI used a JRE to lunch the .exe file because the Application file don't run as explain in the Readme. I don't get any error message during the installation of the app. It was place in a file in the Application directory.

0693W00000UnB6XQAV.pngThe problems starts now. When I open the app the opening page open as you can see on the next picture0693W00000UnB6cQAF.pngAnd then the application cut without any message. Do you have any idea of where it come ?

Thank you in advance

Nathan Gadisseux​

1 REPLY 1
Ghofrane GSOURI
ST Employee

Hi @NGadi.1​ 

According to the user manual of the STM32CubeMX ;

***Software requirements

1-Java™ Runtime Environment

Versions earlier than STM32CubeMX V6.2.0 require a JRE to be installed. The JRE version 

constraints are:

• 64-bit version mandatory, 32-bit version not supported

• the STM32PackCreator companion tool requires JRE supporting JavaFX

• minimum JRE version is 1.8_45 (known limitation with 1.8_251) 

STMicroelectronics promotes the use of the following JREs:

• Oracle(a), subject to license fee

• Amazon Corretto™(b), no-cost solution based on OpenJDK, JDK installer 

recommended.

STM32CubeMX operation is not guaranteed with other JREs

This is the link to download JRE:

https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html

2-macOS software requirements

• Xcode must be installed on macOS computers

• Both Xcode and Rosetta must be installed on macOS computers embedding Apple®

M1 processor

Installing STM32CubeMX standalone version On macOS:

a) On STM32CubeMX-Mac line, Click “Get software�? to download the package 

b) Extract (unzip) the downloaded package.

c) Make sure you have administrator rights. 

d) Double-click SetupSTM32CubeMX-VERSION.app application file to launch the 

installation wizard.

In case of error, try to fix it: - $sudo xattr -cr ~/SetupSTM32CubeMX-VERSION.app.

Uninstalling STM32CubeMX on macOS®

There are two different ways to uninstall STM32CubeMX on Mac: 

1. Move STM32CubeMX.VERSION.app to the trash

2. Use the following command line:

  For STM32CubeMX 6.1.x and older versions only:

java -jar SetupSTM32CubeMX VERSION.app/Contents/Resources/Uninstaller/uninstaller.jar.

Please try to reinstall CubeMX using those steps and do not hesitate to raise any issues or feedback.

Best regards

Ghofrane