Skip to main content
DHard.1
Associate
Aug 31, 2020 11:51 PM UTC
Solved

STM32CubeProgrammer 2.5.0 fails to open on macOS Catalina v 10.15.6

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.
LBeau.1
LBeau.1Best answer
Associate II
Oct 8, 2020 9:33 PM UTC

12 replies

Nesrine.JLASSI
Visitor II
Sep 2, 2020 1:57 PM UTC

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
Sep 9, 2020 5:44 AM UTC

Any update I'm having the same issue?

Miles1
Associate III
Sep 13, 2020 6:31 AM UTC

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
Sep 13, 2020 9:07 PM UTC

@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
Oct 1, 2020 6:28 PM UTC

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
Oct 8, 2020 9:24 PM UTC
Nesrine.JLASSI
Visitor II
Oct 8, 2020 9:31 PM UTC

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
Oct 8, 2020 9:33 PM UTC
Nesrine.JLASSI
Visitor II
Oct 9, 2020 8:16 AM UTC

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
Oct 9, 2020 9:40 AM UTC

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,