Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

Matlab freeze on splash screen

$
0
0
Hello

When openSUSE 13.1 released last year, I installed Matlab R2012b on a fresh installation. It worked out of the box, no further action necessary. After I upgrading to an SSD on my laptop, I had to reinstall openSUSE, which I did and updated, then installed Matlab again, and also activated it again successfully. Now, Matlab fails to start properly and freezes with the splash screen shown, no GUI interface is loaded.

As mentioned, Matlab does install successfully, and activates successfully if immediate activation is selected in the installer options. If installed without activation, and the activation script is called afterwards, it also fails to load the activation GUI. I can however run Matlab in the command line interface using the -nodesktop argument. Probing its Java version yields
Code:

>> version -java

ans =

Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode

which is the JRE that comes with this Matlab version. My currently installed Java is
Code:

$ java -version
java version "1.7.0_51"
OpenJDK Runtime Environment (IcedTea 2.4.4) (suse-24.13.5-x86_64)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)

although as far as I know, these two should not affect each other.

I have tried forcing Matlab to my installed Java with
Code:

export MATLAB_JAVA=/usr/lib64/jvm/*****/jre
where the ***** are the various openjdk and jre folders. Matlab (terminal interface) does pick up this Java version, but it still does not load properly.

I have tried a simple plot command from the console interface, which does show the figure window with the plot drawn. Trying to run Simulink however, yields
Code:

>> simulink
Exception in thread "main" java.lang.NoClassDefFoundError: com/mathworks/mlwebservices/segv/V1/ws/ReportSegvListener
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.mathworks.mlwebservices.segv.V1.ws.ReportSegvListener
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 12 more
Could not find the main class: com.mathworks.fatalexit.FatalExitFrame.  Program will exit.

At this moment I am pretty stumped. I have verified my install medium, and it does successfully run on both Ubuntu 14.04 and Arch Linux, both fully updated. I do find it strange that it worked on my openSUSE 13.1 install about a year ago, and now suddenly does not. I have however not run it in the past few months, so I do not know if a recent update broke it.

Any help in getting it to work is greatly appreciated.

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>