2022-09-21 11:32 AM
Hi ,
I am trying to install CubeMX on MAC M1 . I have been getting this error
Exe path is: /Applications/SetupSTM32CubeMX-6.6.1.app/Contents/MacOs
Search java from relative path ----
Checking java in /Applications/SetupSTM32CubeMX-6.6.1.app/Contents/MacOs/./jre/bin/java
Checking java in /Applications/SetupSTM32CubeMX-6.6.1.app/Contents/MacOs/../jre/bin/java
Checking java in /Applications/SetupSTM32CubeMX-6.6.1.app/Contents/MacOs/../../jre/bin/java
Checking java in /Applications/SetupSTM32CubeMX-6.6.1.app/Contents/MacOs/../../../jre/bin/java
Checking java in /Applications/SetupSTM32CubeMX-6.6.1.app/Contents/MacOs/./jre/Contents/Home/bin/java
Checking java in /Applications/SetupSTM32CubeMX-6.6.1.app/Contents/MacOs/../jre/Contents/Home/bin/java
Checking java in /Applications/SetupSTM32CubeMX-6.6.1.app/Contents/MacOs/../../jre/Contents/Home/bin/java
Checking java in /Applications/SetupSTM32CubeMX-6.6.1.app/Contents/MacOs/../../../jre/Contents/Home/bin/java
Please install Java JDK 11.0.10 or a more recent version
My java echo is printing out this
echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk-19.jdk/Contents/Home
Can anyone pls help me with this
Thanks
Solved! Go to Solution.
2022-10-05 05:22 PM
I got it resolved. It was just the java package which was missing . Thanks Imen
2022-09-27 05:46 AM
Hello @RDodd.1 ,
Are you installing CubeMX with admin rights?
Make sure you have administrator rights and I advise you to follow the steps described in the UM1781, in the "3 Installing and running STM32CubeMX" section.
Please keep me informed about your progress on this issue.
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Imen
2022-10-05 05:22 PM
I got it resolved. It was just the java package which was missing . Thanks Imen