cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer 2.5.0 fails to open on macOS Catalina v 10.15.6

DHard.1
Associate

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.

1 ACCEPTED SOLUTION
12 REPLIES 12

Hello @Community member​ 

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

Best regards,

Nesrine

Any update I'm having the same issue?

Miles1
Associate III

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

@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.

@Nesrine.JLASSI​ 

Hi there.

Is there any chance that this tool gets promoted to more modern JDK?

CAnde.1
Associate

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 III

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