Comment 46 for bug 185311

Revision history for this message
eagleflyer (wweagleflyer) wrote :

Hi all,

I just updated to ubuntu 8.04, and started getting the same errors when I try to run MATLAB.

I tried all the suggestions above, and none worked except for

export MATLAB_JAVA=/usr/lib/jvm/java-6-sun-1.6.0.06/jre

But this fixed the problem when launching MATLAB v2007a, but it did not fix the problem when launching MATLAB v2008a

The following:

sudo sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-6-sun/jre/lib/amd64/xawt/libmawt.so
sudo sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/amd64/xawt/libmawt.so
export LIBXCB_ALLOW_SLOPPY_LOCK=true
export LIBXCB_ALLOW_SLOPPY_LOCK=1

all did not fix the problem with either version of MATLAB

Any ideas why MATLAB v2008 didn't work with export MATLAB_JAVA=/usr/lib/jvm/java-6-sun-1.6.0.06/jre?

Thanks