Skip to main content
lo_529
Associate II
August 8, 2017
Question

can not install stm32cubemx on mac

  • August 8, 2017
  • 4 replies
  • 3955 views
Posted on August 08, 2017 at 10:56

I download the en.stm32cubemx.zip file from st.com website, but can't install it.

When I double-click the SetupSTM32CubeMX-4.22.0.app, nothing happen. 

my java version is :

╰─

$

java -version

java version '1.8.0_111'

Java(TM) SE Runtime Environment (build 1.8.0_111-b14)

Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

And the system OS is 10.12.6, should be the latest version.

    This topic has been closed for replies.

    4 replies

    Khouloud GARSI
    Technical Moderator
    August 9, 2017
    Posted on August 09, 2017 at 14:16

    Hi

    guo.xinwen

    ‌,

    This is internally reported for review. We will keep you posted about any further update.

    Khouloud.

    lo_529
    lo_529Author
    Associate II
    August 14, 2017
    Posted on August 14, 2017 at 09:12

    Installation is OK with the method of john dos, but there's still problem when I open the application. Why it is so hard to use it on the Mac OS?

    john doe
    Senior III
    August 9, 2017
    Posted on August 09, 2017 at 15:28

    been broken this way for many versions now. open a terminal window and cd into the installer's directory and

    sudo java -jar SetupSTM32CubeMX-4.22.0.exe and it should install.

    lo_529
    lo_529Author
    Associate II
    August 14, 2017
    Posted on August 14, 2017 at 09:11

    Thank you for your reply. I have install the application with your method. But when I startup the STM32CubeMX, the app will use a lot of CPU, seems like it is checking something as the 'Checking' button showing.

    Can you help me fix this problem? 

    Sirma Siang
    ST Employee
    September 12, 2017
    Posted on September 12, 2017 at 09:41

    Hello

    guo.xinwen

    ,

    I would like first to thank you for your symptoms reporting.

    This problem is link with a MacOSx new security feature.

    You can refer to this links:

    http://krypted.com/mac-security/app-translocation-services-os-x-10-12/

    https://developer.apple.com/library/content/releasenotes/MacOSX/WhatsNewInOSX/Articles/OSXvhtml

    When a zip, or dmg, is dowloaded from the web, an attribute is automatically added (

    com.apple.quarantine).

    Because of this, the execution is done in a sandbox context, underprivate/var/folder/xxxxx directory.

    In case of cubemx, the app is launched in the sandbox, and it refer to ../../../Setupxxxx.exe file, which does not exist in the sandbox context -> thus file not found error (message reported in the console - system.log).

    The workaround is to launch the installation by the java -jar command line.

    We are looking if this behave can be avoided.

    Kind regards

    Sirma

    lo_529
    lo_529Author
    Associate II
    September 12, 2017
    Posted on September 12, 2017 at 10:16

    I have installed the CubeMX by the java -jar method, but when I startup CubeMX, it will use lot of cpu, seems like it is checking update on the backgroud. And the checking will alway going on, no stop.

    �自网易邮箱大师

    在2017年09月12日 15:42,Sirma Siang<st-microelectronics@jiveon.com> 写�:

    |

    |

    STMicroelectronics Community

    |

    |

    You have been mentioned

    by Sirma Siangin Re: can not install stm32cubemx on mac in STMicroelectronics Community - View Sirma Siang's reference to you

    Hello guo.xinwen,

    I would like first to thank you for your symptoms reporting.

    This problem is link with a MacOSx new security feature.

    You can refer to this links:

    App Translocation Services In OS X 10.12 - krypted.com

    macOS Sierra 10.12

    When a zip, or dmg, is dowloaded from the web, an attribute is automatically added (com.apple.quarantine).

    Because of this, the execution is done in a sandbox context, under private/var/folder/xxxxx directory.

    In case of cubemx, the app is launched in the sandbox, and it refer to ../../../Setupxxxx.exe file, which does not exist in the sandbox context -> thus file not found error (message reported in the console - system.log).

    The workaround is to launch the installation by the java -jar command line.

    We are looking if this behave can be avoided.

    Kind regards

    Sirma

    Participate in the conversation by replying to this email

    This email was sent by STMicroelectronics Community because you are a registered user.

    You may unsubscribe instantly from STMicroelectronics Community, or adjust email frequency in your email preferences

    |

    |

    Sirma Siang
    ST Employee
    September 12, 2017
    Posted on September 12, 2017 at 13:52

    Have you settup your connection parameters ?

    Enterring in Help->Updater Settings, does the Check Connection button is green (or a red cross appears) ?

    KR

    Sirma

    Sirma Siang
    ST Employee
    September 13, 2017
    Posted on September 13, 2017 at 09:58

    I am using an up to dated MacOSx machine.

    Cube is running fine.

    Delete the .app and reinstall it might be a good idea.

    Kind regards

    Sirma

    lo_529
    lo_529Author
    Associate II
    September 15, 2017
    Posted on September 15, 2017 at 04:49

    I have re-installed the lastest version CubeMX-4.22.1, the installation is OK with the java -jar method. But when I startup the APP, the server-checking can not pass, and it always using lot of cpu. I have disabled my network monitor, but useless...

    Any idea for this problem?

    在2017年09月13日 15:58,Sirma Siang<st-microelectronics@jiveon.com> 写�:

    |

    |

    STMicroelectronics Community

    |

    |

    Re: can not install stm32cubemx on mac

    reply from Sirma Siang in STM32 MCUs Forum - View the full discussion

    I am using an up to dated MacOSx machine.

    Cube is running fine.

    Delete the .app and reinstall it might be a good idea.

    Kind regards

    Sirma

    Reply to this message by replying to this email, or go to the message on STMicroelectronics Community

    Start a new discussion in STM32 MCUs Forum by email or at STMicroelectronics Community

    Following Re: can not install stm32cubemx on mac in these streams: Inbox

    This email was sent by STMicroelectronics Community because you are a registered user.

    You may unsubscribe instantly from STMicroelectronics Community, or adjust email frequency in your email preferences

    |

    |