Cannot Uninstall Previous Matlab Versions Due to Missing JVM
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Tomas N.
el 13 de Mayo de 2025
Comentada: Tomas N.
el 16 de Mayo de 2025
Since installing the last several versions of Matlab, my organization made a changeover from Oracle Java to Temurin JRE8. Matlab runs fine, however, when I try to uninstall any previous versions of Matlab or Matlab Runtime (there are reasons, but they are not relevant here) an error occurs, stating that the JVM cannot start:

I've tried copying the JRE folder (in Program Files\Temurin) to the Matlab/Matlab Runtime folders, but in doing so the process instead simply silently crashes in the background.
Before I just delete the Matlab folders and remove them from the environment PATH, are there any suggestions? It's a bit of a strange one, I know, but just wondering if anyone has encountered this.
0 comentarios
Respuesta aceptada
Jacob Mathew
el 15 de Mayo de 2025
Hey Tomas,
It seems like the official solution from the MathWorks Support Team is to manually remove the MATLAB Installation folder in case the uninstall fails as referenced in the following community post:
If you want to remove the preferences associated with the version as well, then you can refer to the following documentation to locate the folder:
It mentions the use of a MATLAB command "prefdir" hence remeber to double check this before deleting the installation in case your preference folder is not in the default location.
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!