2016-12-06 12:52 AM
I am trying to install CubeMX 4.18.0 on my Mac (Sierra), opening the installer appears to do nothing, if launched via spotlight i get a warning stating unable to open the programm.
#cubemx #macos #sierra2016-12-06 01:45 AM
Hi
nathancdc
,Please refer to the
/external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fresource%2Fen%2Fuser_manual%2Fdm001047pdf
user manual and follow the steps/requirements for installing and running CUBEMX under MacOS:Make sure that you haveinstalled Java Development Kit 1.7.0_45 or later.
If the issue persist again please contact us.
-Nesrine M-
2016-12-06 03:47 AM
I got admin rights and 'javac 1.8.0_102' -> already had cubemx installed a while ago, so it was running on this exact computer. Dont know what changed!?
2016-12-06 03:54 AM
Hi
nathancdc
,I'll report this issue to our MX team for checking. Sorry for the inconvenience it may bring.
-Nesrine M-
2016-12-06 07:44 AM
I installed the eclipse add-on, it runs and does everything i need!
2016-12-23 11:09 AM
Double-clicking the installer didn't work for me either.
Workaround: open a terminal, cd to the directory where the files have been unpacked and start the installer with the command:
java -jar SetupSTM32CubeMX-4.0.exe
�?
This worked for me.
2017-01-08 11:12 PM
I had a same problem and this worked for me Thanks!
2017-05-15 08:50 PM
Installing with sudo works:
sudo open 'path_to_/SetupSTM32CubeMX-4.21.0.app'
However, it screws automatic update2017-07-13 12:29 AM
This was killing me too - silent failure. Eventually discovered I could cd to SetupSTM32CubeMX-4.22.0.app/Contents/MacOs and run the executable from the command line:
$ cd ~/Downloads/en/SetupSTM32CubeMX-4.22.0.app/Contents/MacOs
$ ./SetupSTM32CubeMX-4_22_0_macos
Please install Java JDK 1.7.0_45 or a more recent version
Hallelujah! Just needed to install the latest JDK (not the JRE as directed elsewhere!) and away we go.
2017-10-19 01:38 PM
Actually, the setup for Mac OS has been copied from a Linux installation and can only stall as the setup is trying to write into /usr/share/applications which does not exists on Mac OS but does not pop any error up...
LOL, seriously, guys, do you really have a Mac?
:)
I had to open the package and launch the setup in a terminal to discover this.
It has been a year this issue exists and still not fixed.
/Users/***********/Downloads/en.stm32cubemx/SetupSTM32CubeMX4.22.1.app/Contents/MacOs/SetupSTM32CubeMX-4_22_1_macos ; exit;
iMac-**-*****:~ **********$ /Users/***********/Downloads/en.stm32cubemx/SetupSTM32CubeMX4.22.1.app/Contents/MacOs/SetupSTM32CubeMX-4_22_1_macos ; exit;
19 oct. 2017 16:19:14 INFOS: Logging initialized at level 'INFO'
19 oct. 2017 16:19:14 INFOS: Commandline arguments:
19 oct. 2017 16:19:15 INFOS: Detected platform: mac_osx,version=10.12.6,arch=x86,symbolicName=null,javaVersion=9.0.1
19 oct. 2017 16:19:18 WARNING: Cannot write to '/usr/share/applications'