How do I change the temp directory for the Update Installer from R2018b to R2022b?

4 次查看(过去 30 天)
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?

采纳的回答

MathWorks Support Team
MathWorks Support Team 2024-11-21,0:00
编辑:MathWorks Support Team about 18 hours 前
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 个)

类别

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