I can confirm the problem. All solutions posted on the ubuntu/matlab forums don't work on Gusty-64bit.
I tried (in all possible permutations) the following:
and one of:
export MATLAB_JAVA=/usr/lib/jvm/java-6-sun/jre
export MATLAB_JAVA=/usr/lib/jvm/java-5-sun/jre
export MATLAB_JAVA=/usr/lib/jvm/java-7-icedtea/jre
each time updating the jre with
sudo update-alternatives --config java
I also created a symbolic link motif12->motif21 in the lib/amd64/ of each jre distribution (as suggested on the matlab forums) to get passed the first error message, but this produces a matlab segmentation fault consistently (irrespective of the jre version). To get a bit more info on the "Segmentation violation" error (as reported by MAtlab) one could try to run "matlab -nodesktop". This causes a segmentation fault, but at least you get a matlab crash dump.
Bug 151021 claims that the java/compiz problem is fixed with jdk1.6.0_02, but the lates jre1.6.0_03 seems to still have the problem...
I can confirm the problem. All solutions posted on the ubuntu/matlab forums don't work on Gusty-64bit.
I tried (in all possible permutations) the following:
export XLIB_SKIP_ ARGB_VISUALS= 1 MToolkit
export AWT_TOOLKIT=
and one of: JAVA=/usr/ lib/jvm/ java-6- sun/jre JAVA=/usr/ lib/jvm/ java-5- sun/jre JAVA=/usr/ lib/jvm/ java-7- icedtea/ jre
export MATLAB_
export MATLAB_
export MATLAB_
each time updating the jre with
sudo update-alternatives --config java
I also created a symbolic link motif12->motif21 in the lib/amd64/ of each jre distribution (as suggested on the matlab forums) to get passed the first error message, but this produces a matlab segmentation fault consistently (irrespective of the jre version). To get a bit more info on the "Segmentation violation" error (as reported by MAtlab) one could try to run "matlab -nodesktop". This causes a segmentation fault, but at least you get a matlab crash dump.
Bug 151021 claims that the java/compiz problem is fixed with jdk1.6.0_02, but the lates jre1.6.0_03 seems to still have the problem...