Why do I receive a "Negative time" exit reason during third party Support package and MATLAB installations?
8 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2019 年 3 月 18 日
回答済み: MathWorks Support Team
2019 年 3 月 19 日
Why do I receive a "Negative time" exit reason during third party Support package and MATLAB installations?
採用された回答
MathWorks Support Team
2019 年 3 月 18 日
When trying to install some support packages for R2018b and below on a machine with Thai locale and region settings that follows "Buddhist" calendar instead of Gregorian, the following exception that occurs during 3p installation:
java.lang.IllegalArgumentException: Negative time
at java.io.File.setLastModified(File.java:1427)
at com.mathworks.instutil.FileIO.setModificationTime(FileIO.java:519)
at com.mathworks.instutil.FileIO.createFileFromStream(FileIO.java:167)
at com.mathworks.instutil.FileIO.createFileFromStream(FileIO.java:157)
at com.mathworks.install.archive.zip.commonscompress.ArchiveEntryExtractorImpl.extract(ArchiveEntryExtractorImpl.java:37)
The same exception occurs while installing MATLAB R2017b and earlier on the same environment.
In order to resolve this issue, set the regional settings to US before the installation to avoid the "Negative time" exception.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File 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!