2020-08-16 01:28 AM
Downloaded and installed the latest Java development kit. Tried installing SetupSTM32CubeMX-6.0.1 via: sudo java -jar SetupSTM32CubeMX-6.0.1.exe but get this error message: Error: Unable to access jarfile SetupSTM32CubeMX-6.0.1.exe .
Any ideas?
Solved! Go to Solution.
2020-09-03 02:24 AM
Hi @MBudz.1 ,
Good news !
Can you make the solution as Best Answer to help others community members if facing the same issue?
Regards,
Aymen.
2020-09-02 04:50 AM
Hi @MBudz.1 ,
Can you please give us:
Are you facing issue when you double click the SetupSTM32CubeMX-6.0.1.app ?
Regards,
Aymen.
2020-09-02 05:39 AM
Hello,
Thanks for replying. I'm running Mac OS 10.14.6 and downloaded the latest Java:
Bit doesn't recognise the .exe file and says the the data is corrupted:
2020-09-02 05:40 AM
and nothing happens when I double click the app.
2020-09-02 09:20 AM
Hi @MBudz.1 ,
I tried with the same macOS verison 10.14.6 (Mojave), but I can't reproduce your issue.
Can you try installing Oracle JDK and not JRE ?
Because STM32CubeMX works fine only with JDK and not JRE in macOS environment.
Regards,
Aymen.
2020-09-02 11:13 AM
That's interesting I downloaded and installed this:
Once again I double click on the app:
and nothing happens
This is my operating system etc.
Do you have any other solutions as I can't get it to work in any way?
2020-09-02 11:58 PM
Hi @MBudz.1 ,
Can you apply this command [to bypass Gatekeeper]:
Extract from STM32CubeMX User Manual:
Just one clarification, you need to double click the .app file and not .exe file to start STM32CubeMX
The .exe file is only used with command line 'java -jar'
Regards,
Aymen.
2020-09-03 01:19 AM
I did double click the ,app files and it won't open when I double click it.
I tried using this and it gave me an error message:
Then I tried this:
Still can't open it.
Any other ideas?
2020-09-03 01:48 AM
Hi @MBudz.1 ,
My Screenshots was for any MX VERSION, you need to change the VERSION by the correct one.
So in your case:
sudo xattr -cr ~/SetupSTM32CubeMX-6.0.1
Also, try doing the java -jar without sudo:
java -jar SetupSTM32CubeMX-6.0.0.exe
Regards,
Aymen.
2020-09-03 02:16 AM
Got it to work. Thanks for all of your help.
Cheers