How can I change the temp directory the Update installer uses?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 8 de Jun. de 2022
Respondida: MathWorks Support Team
el 13 de Jun. de 2022
How can I change the temp directory the Update installer uses?
Respuesta aceptada
MathWorks Support Team
el 8 de Jun. de 2022
Note that if the values below are set in the shell initialization or system wide environment variables,
it could affect any other Java programs the customer uses.
Windows
The Update Installer uses the system specified default temp directory to download files.
Users can change the TMP environment variable to be able to change the default temporary directory that the Update Installer uses
Linux
For the Java based installers like Update Installer, the default temporary-file directory is specified by the JVM's system property "java.io.tmpdir".
You can add the following lines to the shell initialization files (e.g. .bashrc) or directly on command-line.
For Bash shells:
export JAVA_TOOL_OPTIONS=-Djava.io.tmpdir=/new/tmp/dir
or
export _JAVA_OPTIONS=-Djava.io.tmpdir=/new/tmp/dir
For tcsh shells:
set JAVA_TOOL_OPTIONS=-Djava.io.tmpdir=/new/tmp/dir
or
set _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!