- Open Finder and go to Applications then open the Utilities folder and launch Terminal
- Execute:file /Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre/bin/java
- The expected output ends with: /Contents/Home/jre/bin/java: Mach-O 64-bit executable arm64
Why do I get "Error: JRE 8 not found" when I try to run MATLAB Apple Silicon Platform Open Beta?
5 views (last 30 days)
Show older comments
MathWorks Support Team
on 3 Apr 2023
Answered: MathWorks Support Team
on 3 Apr 2023
I installed MATLAB Apple Silicon Platform Open Beta on my Apple Silicon Mac, and I also installed the Amazon Correto 8 Java Virtual Machine, but when I try to run MATLAB I still get:
Error: JRE 8 not found
JRE 8 is required for MATLAB R2022b Apple Silicon Platform Open Beta
Accepted Answer
MathWorks Support Team
on 3 Apr 2023
This error can be caused by not having the correct version of Amazon Corretto 8 installed. Please confirm that you have the correct version of Amazon Corretto 8 by checking the version in Terminal:
If you get a different output, you should uninstall and reinstall Amazon Corretto 8. Be sure to select the .pkg file for macOS aarch64 from the Downloads page.
Once you have confirmed that you have the correct version of Amazon Corretto 8 installed, execute these commands in Terminal, then try to launch MATLAB:
cd /Applications/MATLAB_R2022b_Beta.app/bin
./matlab_jenv /Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!