error while installing matlab R2019b

error while installing matlab on ubuntu
Today's Date:
(Oct 22, 2019 03:48:27) Tue Oct 22 03:48:27 EET 2019
(Oct 22, 2019 03:48:27)
(Oct 22, 2019 03:48:27) System Info
(Oct 22, 2019 03:48:27) OS: Linux 5.0.0-31-generic
(Oct 22, 2019 03:48:27) Arch: amd64
(Oct 22, 2019 03:48:27) Data Model: 64
(Oct 22, 2019 03:48:27) Language: en
(Oct 22, 2019 03:48:27) Java Vendor: Oracle Corporation
(Oct 22, 2019 03:48:27) Java Home: /tmp/mathworks_10388/sys/java/jre/glnxa64/jre
(Oct 22, 2019 03:48:27) Java Version: 1.8.0_202
(Oct 22, 2019 03:48:27) Java VM Name: Java HotSpot(TM) 64-Bit Server VM
(Oct 22, 2019 03:48:27) Java Class Path: /tmp/mathworks_10388/java/config/professionalinstaller/pathlist.jar
(Oct 22, 2019 03:48:27) User Name: root
(Oct 22, 2019 03:48:27) Current Directory: /tmp/mathworks_10388
(Oct 22, 2019 03:48:27) Input arguments:
(Oct 22, 2019 03:48:27) root /media/mano/new_/new matlab/[Freezone.xyz] R2019b_Linux
(Oct 22, 2019 03:48:27) libdir /tmp/mathworks_10388
(Oct 22, 2019 03:48:27) standalone true
(Oct 22, 2019 03:48:29) Starting local product/component search in download directory
(Oct 22, 2019 03:48:29) Searching for archives...
(Oct 22, 2019 03:48:29) Reading /media/mano/new_/new matlab/[Freezone.xyz] R2019b_Linux/archives
(Oct 22, 2019 03:48:29) Extracting /media/mano/new_/new matlab/[Freezone.xyz] R2019b_Linux/archives/platform_common.zip
(Oct 22, 2019 03:48:29) Extracting /media/mano/new_/new matlab/[Freezone.xyz] R2019b_Linux/archives/platform_glnxa64.zip
(Oct 22, 2019 03:48:29) Reading /media/mano/new_/new matlab/[Freezone.xyz] R2019b_Linux
(Oct 22, 2019 03:48:29) 19 files found in /media/mano/new_/new matlab/[Freezone.xyz] R2019b_Linux
(Oct 22, 2019 03:48:29) Archive search complete. 21 total files found.
(Oct 22, 2019 03:48:33) Completed local product/component search
(Oct 22, 2019 03:49:04) Fetching settings
(Oct 22, 2019 03:49:04) java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class com.mathworks.net.ssl.NativeSystemTrustStore
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at javax.swing.SwingWorker.get(SwingWorker.java:602)
at com.mathworks.wizard.worker.WorkerImpl.done(WorkerImpl.java:33)
at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
at javax.swing.Timer.fireActionPerformed(Timer.java:313)
at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.mathworks.net.ssl.NativeSystemTrustStore
at com.mathworks.net.ssl.TrustStores$FromSystemBuilder.getKeyStore(TrustStores.java:74)
at com.mathworks.net.ssl.SSLContextFactory$1.getSSLContext(SSLContextFactory.java:35)
at com.mathworks.mlwebservices.ws_client_core.MathWorksWebServiceClientSSLConfigurator.getSSLContext(MathWorksWebServiceClientSSLConfigurator.java:22)
at com.mathworks.mlwebservices.ws_client_core.MathWorksWebServiceClientSSLConfigurator.configureClient(MathWorksWebServiceClientSSLConfigurator.java:17)
at com.mathworks.mlwebservices.ws_client_core.DefaultMathWorksWebServiceClientConfigurator.configureClient(DefaultMathWorksWebServiceClientConfigurator.java:26)
at com.mathworks.mlwebservices.webserviceproxy.DDUXWSClientProxy.configureProxies(DDUXWSClientProxy.java:20)
at com.mathworks.installwizard.command.AbstractNewWebserviceCallable.call(AbstractNewWebserviceCallable.java:51)
at com.mathworks.installwizard.command.DDUXPingCallable.call(DDUXPingCallable.java:12)
at com.mathworks.installwizard.command.AbstractNewWebserviceCallable.call(AbstractNewWebserviceCallable.java:12)
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:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
(Oct 22, 2019 03:49:04) 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 /tmp/mathworks_root.log
(Oct 22, 2019 03:49:11) Exiting with status -2

1 个评论

I have exactly the same problem. Any solution? Mounting the iso didnt help, it says:
"The Installer cannot be run from inside the DVD directory. Change to your home directory and execute this command: /media/username/MATHWORKS_R2019B/install"
Help me please, I'm stuck on this for over two weeks.
[UPDATE] Solved by downloading 2020b, mounting iso, copying all files inside into some folder in home (like Documents or Downloads), executing 'chmod -R 777 /home/username/Downloads/matlab2020' and then 'sudo /home/bkubes/Downloads/matlab2020/install'. :)

请先登录,再进行评论。

回答(3 个)

Update: Mounting the iso file as an image instead of extracting the files worked for me.
I have the same problem and the solution proposed does not work for me.
I tried installing from iso image (i.e. DVD mounted image) and from folder.

1 个评论

Using Disk Image Mounter rather Archive Mounter fixed my problem.

请先登录,再进行评论。

类别

帮助中心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!

Translated by