I can't install Matlab2017b

6 views (last 30 days)
Marut Muangkham
Marut Muangkham on 14 Jan 2018
Commented: Jan on 15 Jan 2018
Installation folder:
C:\Program Files\MATLAB\R2017b
Download Size: 3,809 MB
Installation Size: 11,236 MB
Products:
MATLAB 9.3 (download)
Simulink 9.0 (download)
Aerospace Blockset 3.20 (download)
Aerospace Toolbox 2.20 (download)
Control System Toolbox 10.3 (download)
Data Acquisition Toolbox 3.12 (download)
DSP System Toolbox 9.5 (download)
Image Processing Toolbox 10.1 (download)
Instrument Control Toolbox 3.12 (download)
Optimization Toolbox 8.0 (download)
Signal Processing Toolbox 7.5 (download)
Simulink 3D Animation 7.8 (download)
Simulink Control Design 5.0 (download)
Simulink Design Optimization 3.3 (download)
Statistics and Machine Learning Toolbox 11.2 (download)
Symbolic Math Toolbox 8.0 (download)
(.. 14, 2561 14:51:57) Task MATLAB R2017b Startup Accelerator for C:\Program Files\MATLAB\R2017b does not exist
(.. 14, 2561 14:51:57) Starting Download: MATLAB 9.3 : 880,123,243 bytes
(.. 14, 2561 15:04:25) Starting Download: Simulink 9.0 : 896,120,316 bytes
(.. 14, 2561 15:17:06) Starting Download: Aerospace Blockset 3.20 : 69,488,880 bytes
(.. 14, 2561 15:18:05) Starting Download: Aerospace Toolbox 2.20 : 61,578,767 bytes
(.. 14, 2561 15:18:57) Starting Download: Control System Toolbox 10.3 : 80,984,862 bytes
(.. 14, 2561 15:20:05) Starting Download: Data Acquisition Toolbox 3.12 : 11,107,796 bytes
(.. 14, 2561 15:20:14) Starting Download: DSP System Toolbox 9.5 : 151,758,906 bytes
(.. 14, 2561 15:22:26) Starting Download: Image Processing Toolbox 10.1 : 757,288,073 bytes
(.. 14, 2561 15:34:40) Starting Download: Instrument Control Toolbox 3.12 : 9,482,309 bytes
(.. 14, 2561 15:34:48) Starting Download: Optimization Toolbox 8.0 : 22,793,214 bytes
(.. 14, 2561 15:35:08) Starting Download: Signal Processing Toolbox 7.5 : 218,145,887 bytes
(.. 14, 2561 15:38:16) Starting Download: Simulink 3D Animation 7.8 : 45,958,795 bytes
(.. 14, 2561 15:38:56) Starting Download: Simulink Control Design 5.0 : 47,212,336 bytes
(.. 14, 2561 15:39:36) Starting Download: Simulink Design Optimization 3.3 : 92,813,757 bytes
(.. 14, 2561 15:40:57) Starting Download: Statistics and Machine Learning Toolbox 11.2 : 337,536,362 bytes
(.. 14, 2561 15:45:52) Starting Download: Symbolic Math Toolbox 8.0 : 312,587,449 bytes
(.. 14, 2561 15:50:23) Installing Product: MATLAB 9.3
(.. 14, 2561 15:50:23) 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)
at com.mathworks.install.archive.zip.commonscompress.ZipArchiveInputStreamExtractor.extract(ZipArchiveInputStreamExtractor.java:36)
at com.mathworks.install.archive.DecodeArchiveInputStreamExtractor.extract(DecodeArchiveInputStreamExtractor.java:34)
at com.mathworks.install.input.ArchiveComponentSource.extract(ArchiveComponentSource.java:26)
at com.mathworks.install.InstallableComponentImpl.install(InstallableComponentImpl.java:102)
at com.mathworks.install.ComponentInstallerImpl.installComponent(ComponentInstallerImpl.java:99)
at com.mathworks.install.ComponentInstallerImpl.installComponents(ComponentInstallerImpl.java:58)
at com.mathworks.install.ProductInstallerImpl.installComponents(ProductInstallerImpl.java:225)
at com.mathworks.install.ProductInstallerImpl.installProduct(ProductInstallerImpl.java:211)
at com.mathworks.install.ProductInstallerImpl.installProducts(ProductInstallerImpl.java:88)
at com.mathworks.install.InstallerImpl.install(InstallerImpl.java:114)
at com.mathworks.installwizard.model.InstallTask.execute(InstallTask.java:46)
at com.mathworks.installwizard.model.AbstractBackgroundTask.execute(AbstractBackgroundTask.java:38)
at com.mathworks.installwizard.model.AbstractTask.call(AbstractTask.java:74)
at com.mathworks.installwizard.model.AbstractTask.call(AbstractTask.java:24)
at com.mathworks.wizard.worker.WorkerImpl.doInBackground(WorkerImpl.java:24)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
(.. 14, 2561 15:50:23) Error: The application encountered an unexpected error and needs to close. You may want to try re-installing your product(s). More information can be found at C:\Users\TKOTON~1\AppData\Local\Temp\mathworks_TKoTonkla.log
(.. 14, 2561 15:51:27) Exiting with status -1
(.. 14, 2561 15:51:31) End - Unsuccessful.

Answers (3)

Walter Roberson
Walter Roberson on 14 Jan 2018
Edited: Jan on 14 Jan 2018

Jan
Jan on 14 Jan 2018
Edited: Jan on 14 Jan 2018
The actual problem is:
java.lang.IllegalArgumentException: Negative time at
java.io.File.setLastModified(File.java:1427)
If you search for these terms in the net, you would find the link posted by Walter. The solution is to set the regional settings to e.g. US before the installation: Go to Control Panel->Region and Language->Formats->Format:English (United States)
Well, this answer does not contain anything new compared to the link Walter has posted already. But there you find the solution in a comment only, but having it at the answers might increase the chance to find it. Another detail is to suggest to examine the message and locate the actual error and use it for searching in the internet. It is surprising for me, that so many users hesitate to trust an internet search engine.

Marut Muangkham
Marut Muangkham on 15 Jan 2018
Where is region and language > format in windown 10 ? I can find only region or only language. It isn't stay together.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!