Article 55QQK Java errors on Slackware

Java errors on Slackware

by
anctop
from LinuxQuestions.org on (#55QQK)
My system is running Slackware-64 version 14.2.
It has MATLAB R2018b installed for doing computations.

Recently when I tried to install MATLAB R2019b, the process crashed soon with a bunch of Java errors.

The ISO image was mounted at /mnt.
Here are the output of a "silent" install:
Code:(Jul 15, 2020 10:14:29) System Info
(Jul 15, 2020 10:14:29) OS: Linux 4.14.11
(Jul 15, 2020 10:14:29) Arch: amd64
(Jul 15, 2020 10:14:29) Data Model: 64
(Jul 15, 2020 10:14:29) Language: en
(Jul 15, 2020 10:14:29) Java Vendor: Oracle Corporation
(Jul 15, 2020 10:14:29) Java Home: /tmp/mathworks_12585/sys/java/jre/glnxa64/jre
(Jul 15, 2020 10:14:29) Java Version: 1.8.0_202
(Jul 15, 2020 10:14:29) Java VM Name: Java HotSpot(TM) 64-Bit Server VM
(Jul 15, 2020 10:14:29) Java Class Path: /tmp/mathworks_12585/java/config/professionalinstaller/pathlist.jar
(Jul 15, 2020 10:14:29) User Name: xxxxxxxxx
(Jul 15, 2020 10:14:29) Current Directory: /tmp/mathworks_12585
(Jul 15, 2020 10:14:29) Input arguments:
(Jul 15, 2020 10:14:29) root /mnt
(Jul 15, 2020 10:14:29) libdir /tmp/mathworks_12585
(Jul 15, 2020 10:14:29) inputFile xxxxxxxxx
(Jul 15, 2020 10:14:29) standalone true
(Jul 15, 2020 10:14:29) Input file:

destinationFolder=xxxxxxxxx

fileInstallationKey=xxxxxxxxx

agreeToLicense=yes

outputFile=xxxxxxxxx

mode=silent

licensePath=xxxxxxxxx

lmgrFiles=false

(Jul 15, 2020 10:14:29) Starting local product/component search in download directory
(Jul 15, 2020 10:14:29) Searching for archives...
(Jul 15, 2020 10:14:29) Reading /mnt/archives
(Jul 15, 2020 10:14:29) Extracting /mnt/archives/platform_common.zip
(Jul 15, 2020 10:14:29) Extracting /mnt/archives/platform_glnxa64.zip
(Jul 15, 2020 10:14:29) Reading /mnt
(Jul 15, 2020 10:14:29) 20 files found in /mnt
(Jul 15, 2020 10:14:29) Archive search complete. 22 total files found.
(Jul 15, 2020 10:14:29) Fetching settings
(Jul 15, 2020 10:14:29) java.lang.RuntimeException: Failed to add certificate directory to store
at com.mathworks.net.ssl.NativeSystemTrustStore.nativeInit(Native Method)
at com.mathworks.net.ssl.NativeSystemTrustStore.(NativeSystemTrustStore.java:18)
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)
(Jul 15, 2020 10:14:29) Error: The application could not connect to MathWorks.
For more information on resolving this issue, see this Support Article
(Jul 15, 2020 10:14:29) Exiting with status -2
(Jul 15, 2020 10:14:31) End - Unsuccessful.The "this Support Article" in the last 3rd line is a broken link to "http://www.mathworks.com/pi_ce_pi_null_null".

The same steps on CentOS-6 can install the software successfully, therefore I guess some packages are missing in my copy of Slackware, but I have no idea about what they are by looking at the Java errors.

Could someone kindly help ?latest?d=yIl2AUoC8zA latest?i=R15h1faG_wI:vJsN0G9tOSo:F7zBnMy latest?i=R15h1faG_wI:vJsN0G9tOSo:V_sGLiP latest?d=qj6IDK7rITs latest?i=R15h1faG_wI:vJsN0G9tOSo:gIN9vFwR15h1faG_wI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments