How can I change the temp directory the Update installer uses?

조회 수: 5 (최근 30일)
How can I change the temp directory the Update installer uses?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2022년 6월 8일
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개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by