How do I change the temp directory for the Update Installer from R2018b to R2022b?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 21 de Feb. de 2023
Editada: MathWorks Support Team
hace alrededor de 17 horas
When I run the Update Installer for R2018b through R2022b, I get the error "free up disk space on your computer before continuing" because I do not have enough space in my temp directory. How can I change the temp directory used by the Update Installer?
Respuesta aceptada
MathWorks Support Team
el 21 de Nov. de 2024 a las 0:00
Editada: MathWorks Support Team
hace alrededor de 17 horas
The Update Installer reads the temp directory from java.io.tmpdir system property, and not from the TMP or TMPDIR variable. You can set the temp directory used by the Update Installer by modifying the _JAVA_OPTIONS environment variable. The commands for doing so are slightly different on Windows and Linux/Mac.
Windows:
set _JAVA_OPTIONS=-Djava.io.tmpdir=\new\tmp\dir
Linux/Mac:
export _JAVA_OPTIONS=-Djava.io.tmpdir=/new/tmp/dir
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!