Reputation: 923
While attempting to start Matlab R2013b in Ubuntu, I get the following dialog box with an error message and Matlab crashes and closes. Can someone explain the error and how to rectify it?
Upvotes: 0
Views: 504
Reputation: 4067
This is a known JDK bug. It is addressed in this question pretty thoroughly from the java perspective.
When it comes to Matlab, you options seem to be (apart from upgrading Matlab and/or OS):
Add the following JVM startup option through java.opts
file:
-Djava.util.Arrays.useLegacyMergeSort=true
Use a different java version by setting MATLAB_JAVA
environmental variable. It may result in all sorts of side-effects, depending on which Matlab / Java combination you end up using.
Upvotes: 1