Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: java problems in Ubuntu
Date: Wed, 10 Oct 2007 03:54:31 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 21
Message-ID: <fehidn$n8f$1@fred.mathworks.com>
References: <fe0m73$q2h$1@fred.mathworks.com> <fe6jmb$bec$1@fred.mathworks.com> <fe8g4s$aig$1@fred.mathworks.com> <fegie0$9a0$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-06-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1191988471 23823 172.30.248.36 (10 Oct 2007 03:54:31 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 10 Oct 2007 03:54:31 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1134627
Xref: news.mathworks.com comp.soft-sys.matlab:432111



First of all, thanks for the response.  I tried that
suggestion and received a Segmentation Fault when I tried to
start Matlab.  Just to make sure I didn't do anything silly,
I tried this two different ways.  I created the symbolic
link using:
ln -s
[matlabroot]/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/motif21
[matlabroot]/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/motif12

I then edited the Matlab script file and added:
export AWT_TOOLKIT=MToolkit

When that produced the Seg Fault I removed it and tried
running Matlab instead with:
export AWT_TOOLKIT=MToolkit; matlab -desktop

This produced the same error.  Minus the AWT_TOOLKIT fix
(with the symbolic link still in place) I still get a blank
area for the entire MATLAB window (except for the Start
button in the bottom left, which miraculously works
perfectly).  Any other ideas?