Skip to main content
Lars Beiderbecke
Senior III
June 23, 2023
Solved

CubeMX 6.8.1 installer for Linux is broken

The installer for the latest CubeMX is broken on Linux, as the resulting directory structure lacks permissions in the jre/ subdirectory:

cassiopeia:/opt/cubemx# ll
total 150384
drwxr-xr-x 8 root root 4096 Jun 23 16:00 db/
drwxr-xr-x 2 root root 4096 Jun 23 16:00 help/
drwxr-x--- 7 root root 4096 Dec 12 2022 jre/
drwxr-xr-x 2 root root 4096 Jun 23 16:00 olddb/
drwxr-xr-x 3 root root 4096 Jun 23 16:00 plugins/
-rwxr-xr-x 1 root root 153956002 Apr 19 15:31 STM32CubeMX*
drwxr-xr-x 3 root root 4096 Jun 23 16:00 third_parties_plugins/
drwxr-xr-x 2 root root 4096 Jun 23 16:00 Uninstaller/
drwxr-xr-x 4 root root 4096 Jun 23 16:00 utilities/

Unfortunately, it's not just the top directory, but lots and lots of files and directories further down as well.  And no,

chmod -R a+rx jre

is not an acceptable solution.

Also, the installer is unable to display the license agreement:

────────────────────────────────────────────────────────────────────────────────
STM32CubeMX License agreement
────────────────────────────────────────────────────────────────────────────────

WARNING: Cannot open any of the possible license document resources (MXLicensePanel.licence, MXLicensePanel.licence.panel) for panel type 'MXLicensePanel'
WARNING: No text to display

Does anybody know where to report bugs? Here? 

    This topic has been closed for replies.
    AScha.3
    AScha.3Best answer
    Super User
    June 23, 2023

    try:

    http://my.st.com/ols

     

    If you feel a post has answered your question, please click on " Best Answer ".

    1 reply

    AScha.3
    AScha.3Best answer
    Super User
    June 23, 2023
    If you feel a post has answered your question, please click on " Best Answer ".