Skip to main content
Sam F
Associate II
November 23, 2016
Solved

Issues installing CubeMX on OSX Sierra

  • November 23, 2016
  • 8 replies
  • 2111 views
Posted on November 23, 2016 at 07:17

Hello all, has anyone successfully installed CubeMX 4.17.0 on Mac OSX Sierra (10.12.1)? Every time I doubleclick the install it just bounces and then nothing happens. Any suggestions?

#cubemx-macos-sierra
This topic has been closed for replies.
Best answer by Brian Khuu
Posted on May 07, 2018 at 08:51

Solution Found For Those With macOS High Sierra

First open this macro file inside the zipped package  `

en.stm32cubemx

`. `./

en.stm32cubemx/SetupSTM32CubeMX-4.25.0.app/Contents/MacOs/

SetupSTM32CubeMX-4_25_0_macos

`, this will open the installer.

It will by default try to install to `

/usr/share/applications.

`. This is incorrect. You need to find your application directory.

```

MacBook-Pro:en.stm32cubemx briankhuu$ cd ~/Applications/

MacBook-Pro:Applications briankhuu$ pwd

/Users/briankhuu/Applications

```

In my case it was `

/Users/briankhuu/Applications

`, you can then modify the application install directory during the install prompts.

This will then successfully install CUBEmx in macOS High Sierra.

Hope it helps 

8 replies

slimen
Visitor II
November 23, 2016
Posted on November 23, 2016 at 10:04

Hello,

Refer to the

http://www.st.com/resource/en/user_manual/dm00104712.pdf

 user manual for STM32CubeMX and follow the steps/requirements for MacOS: Make sure you have administrators rights.

- Software requirements For MacOS, install Java Development Kit 1.7.0_45 or later.

Regards

Andrei Chichak
Lead
November 23, 2016
Posted on November 23, 2016 at 21:48

Yes, you need to install Java. 

On Sierra it works great, less filling (actually just the same)
Sam F
Sam FAuthor
Associate II
November 25, 2016
Posted on November 25, 2016 at 08:05

I have both Java Developer packages and admin rights on my machine but still no joy.  What did end up working for me though was to right-click on the .app installer and open up the package contents. Inside the MACOS folder there is a Setup...  binary file, double-clicked it and magically the terminal pops up with a install script and voila it installs, weird.  

Hope this helps someone else.

dheerajdake9
Associate III
May 12, 2017
Posted on May 12, 2017 at 01:23

Thank you. This worked.

I am on macOS Sierra
Victoria Leonard
Visitor II
December 6, 2016
Posted on December 06, 2016 at 03:21

I also had this problem on Sierra. Installed JDK, restarted, and the installer would quit without opening the wizard.

Ferguson.Samuel

has the result that worked for me. The second time I opened the binary in the terminal, the wizard opened, and I was able to install.

stephengoodman9179
Associate
May 19, 2017
Posted on May 19, 2017 at 09:59

I also saw that it worked only the 2nd time I launched it.

It did complain that it could not find /usr/share/applications.

Indeed that is a path which does not exist, and which the finder will not let me create.

Brian Khuu
Brian KhuuBest answer
Associate III
May 7, 2018
Posted on May 07, 2018 at 08:51

Solution Found For Those With macOS High Sierra

First open this macro file inside the zipped package  `

en.stm32cubemx

`. `./

en.stm32cubemx/SetupSTM32CubeMX-4.25.0.app/Contents/MacOs/

SetupSTM32CubeMX-4_25_0_macos

`, this will open the installer.

It will by default try to install to `

/usr/share/applications.

`. This is incorrect. You need to find your application directory.

```

MacBook-Pro:en.stm32cubemx briankhuu$ cd ~/Applications/

MacBook-Pro:Applications briankhuu$ pwd

/Users/briankhuu/Applications

```

In my case it was `

/Users/briankhuu/Applications

`, you can then modify the application install directory during the install prompts.

This will then successfully install CUBEmx in macOS High Sierra.

Hope it helps