매트랩 설치오류-Failed to initialize Java
3 views (last 30 days)
Jemima Pulipati on 29 Jan 2021
From my understanding the issue you are facing appears to be due to use of incorrect JRE.
When MATLAB is shipped, the JRE used by the installed product is located in the directory (example for R2019a , win64):
The JRE used by your current running instance of MATLAB can be determined by the output of the following command:
Ideally, the output from the above command must point to the shipped JRE. I would recommend changing your ‘MATLAB_JAVA’ system environment variable to point MATLAB to use the shipped version of the JRE. This should resolve the issue.
If you want to use JVM Software other than the one shipped with MATLAB, refer this.