user_1_1_1
user_1_1_1

Reputation: 923

java error message while starting MATLAB

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? enter image description here

Upvotes: 0

Views: 504

Answers (1)

nirvana-msu
nirvana-msu

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):

  1. Add the following JVM startup option through java.opts file:

    -Djava.util.Arrays.useLegacyMergeSort=true

  2. 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

Related Questions