Skip to main content
DHard.1
Associate
August 31, 2020
Solved

STM32CubeProgrammer 2.5.0 fails to open on macOS Catalina v 10.15.6

  • August 31, 2020
  • 8 replies
  • 4586 views

I have installed Java:

0693W000003QOFYQA4.png

Successfully installed STM32CubeProgrammer:

0693W000003QOEuQAO.pngIf i launch in finder CubeProgrammer quits

0693W000003QOF4QAO.png

If i launch in terminal java quits

0693W000003QOF9QAO.png

I currently have STM32CubeIDE, STM32CubeMX, STM32CubeMonitor and STM32CubeMonitorRF all installed and working correctly.

Does anybody have any suggestions for a solution? I know this issue has been reported by a number of other community members using older software versions.

This topic has been closed for replies.

8 replies

Nesrine.JLASSI
Visitor II
September 2, 2020

Hello @Community member​ 

Thanks for the feedback, issue reported to the tool development team that will plan the correction.

Best regards,

Nesrine

Js.1
Associate
September 9, 2020

Any update I'm having the same issue?

Miles1
Associate III
September 13, 2020

I believe I'm encountering the same problem on Ubuntu 20.04:

./STM32CubeProgrammer/bin/STM32CubeProgrammer
Error: Could not find or load main class com.st.app.Main
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

fred bar
Senior
September 13, 2020

@Community member​ 

I also had problems starting it, but with some help it finally worked (macOS only)

Please check that thread. https://community.st.com/s/feed/0D53W00000GWcmTSAT

Hope that helps.

CAnde.1
Associate
October 1, 2020

I'm having same issue - installed various versions of JDK - currently on 8.0_231 - and no matter which version of java I use or how I launch SetupSTM32CubeProgrammer-2_5_0_macos (either via .app or command line) I get the following:

Last login: Thu Oct 1 12:12:17 on ttys003

/Users/chucka/Downloads/en.stm32cubeprog_v2-5-0/SetupSTM32CubeProgrammer-2.5.0.app/Contents/MacOs/SetupSTM32CubeProgrammer-2_5_0_macos ; exit;

chucka@MacBook-Air-5 ~ % /Users/chucka/Downloads/en.stm32cubeprog_v2-5-0/SetupSTM32CubeProgrammer-2.5.0.app/Contents/MacOs/SetupSTM32CubeProgrammer-2_5_0_macos ; exit;

Error: Unable to access jarfile ../../../SetupSTM32CubeProgrammer-2.5.0.exe

[Process completed]

Any suggestions on how to get this thing installed?

LBeau.1
Associate II
October 8, 2020
Nesrine.JLASSI
Visitor II
October 8, 2020

Hello @LBeau.1​ 

The root cause of this issue may be conflicts between Java versions, so please, if you have many java versions installed try to uninstall all except 1.8.0_26 and then re-install CubeProgrammer.

Best regards,

Nesrine

LBeau.1
LBeau.1Best answer
Associate II
October 8, 2020
Nesrine.JLASSI
Visitor II
October 9, 2020

Hello @fred bar​ 

Yes, there is a plan to integrate OpenJDK in STM32CubeProgrammer.So, no need for any extra install.

Best regards,

Nesrine

fred bar
Senior
October 9, 2020

Hi there,

Thanks @Nesrine.JLASSI​ for the confirmation. I hope this comes soon so we can go back to normal life and limit hassle.

Best,