Hi @minajung,
Let me break it down the way I did it and let me know if it works for you :
- Download Amazon-Correto-8 from Downloads for Amazon Corretto 8 - Amazon Corretto 8 (this package: https://corretto.aws/downloads/latest/amazon-corretto-8-aarch64-macos-jdk.pkg).
- Install the package based on the steps here: Amazon Corretto 8 Installation Instructions for macOS 11 or later - Amazon Corretto 8 and JDK 8 should be installed in the location
/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/
- Open MATLAB (any of the Apple Silicon versions)
- run
version -java
in the MATLAB command window verify that it givesJava 11.0.23+9-LTS with
Amazon.com
Inc. OpenJDK 64-Bit Server VM mixed mode
- In the MATLAB command window: run
jenv('/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home/jre')
to change to Amazon-correto-8. - Restart MATLAB.
- running
version -java
now should giveJava 1.8.0_412-b08 with
Amazon.com
Inc. OpenJDK 64-Bit Server VM mixed mode
After this start Brainstorm and run the Tutorial and everything should work fine.