How can I delete the JRE that ships with MATLAB and replace it with my own?
69 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 17 de Sept. de 2021
Editada: MathWorks Support Team
el 29 de Mayo de 2024
I understand that MATLAB’s shipped version of the Java Runtime Environment (JRE) may depend on an outdated version of the MSVC library (msvcr100.dll). How can I delete the shipped version of the JRE and replace it with my own version?
Respuesta aceptada
MathWorks Support Team
el 29 de Mayo de 2024
Editada: MathWorks Support Team
el 29 de Mayo de 2024
Although MATLAB ships with a version of the JRE, MATLAB, users can replace it with a different version. For more information on which JRE version is supported for each release of MATLAB, see this page:
Versions of OpenJDK Compatible with MATLAB by Release
Step 1: Install and setup your version of the Java JRE
For step-by-step instructions, select the link below that corresponds to your OS.
Note: Starting with R2021b, MATLAB users can call matlab_jenv to specify a custom JRE location.
Step 2: remove the Java JRE that is shipped with MATLAB
Delete the folder containing the JRE and the outdated MSVC library. MATLAB’s version of the shipped JRE is located in matlabroot/sys/java/jre, where the value of matlabroot for your installation can be determined with this MATLAB command
>> matlabroot
Delete the folder matlabroot/sys/java/jre.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!