<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/157118</link>
    <title>MATLAB Central Newsreader - java problems in Ubuntu</title>
    <description>Feed for thread: java problems in Ubuntu</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Wed, 03 Oct 2007 18:14:59 -0400</pubDate>
      <title>java problems in Ubuntu</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/157118#395012</link>
      <author>Nathanael Greene</author>
      <description>I'm running Matlab R2007a in Ubuntu Feisty with Beryl, and I&lt;br&gt;
have several problems.  Firstly, I can't get matlab to run&lt;br&gt;
unless I run it as an application in a terminal.  Otherwise&lt;br&gt;
I receive the error:&lt;br&gt;
&amp;nbsp;Failed to start the Desktop: Failure loading desktop class&lt;br&gt;
&lt;br&gt;
I also get this error when I start Matlab:&lt;br&gt;
Exception in thread &quot;Thread-7&quot; java.lang.NoClassDefFoundError&lt;br&gt;
	at com.mathworks.mde.editor.IDEEditor.&amp;lt;init&amp;gt;(IDEEditor.java:94)&lt;br&gt;
	at&lt;br&gt;
com.mathworks.mde.editor.IDEEditor.getInstance(IDEEditor.java:66)&lt;br&gt;
	at&lt;br&gt;
com.mathworks.mde.editor.EditorServices.loadBuiltinEditor(EditorServices.java:499)&lt;br&gt;
	at&lt;br&gt;
com.mathworks.mde.editor.EditorServices.loadEEIEditor(EditorServices.java:530)&lt;br&gt;
	at&lt;br&gt;
com.mathworks.mde.editor.EditorViewContainer.&amp;lt;clinit&amp;gt;(EditorViewContainer.java:165)&lt;br&gt;
	at java.lang.Class.forName0(Native Method)&lt;br&gt;
	at java.lang.Class.forName(Unknown Source)&lt;br&gt;
	at&lt;br&gt;
com.mathworks.mde.desk.StartupClassLoader.callClassForName(StartupClassLoader.java:304)&lt;br&gt;
	at&lt;br&gt;
com.mathworks.mde.desk.StartupClassLoader.loadClass(StartupClassLoader.java:282)&lt;br&gt;
	at&lt;br&gt;
com.mathworks.mde.desk.StartupClassLoader.access$900(StartupClassLoader.java:27)&lt;br&gt;
	at&lt;br&gt;
com.mathworks.mde.desk.StartupClassLoader$LoadThread.run(StartupClassLoader.java:271)&lt;br&gt;
&lt;br&gt;
I also get this error when trying to run the editor:&lt;br&gt;
??? Error using ==&amp;gt; edit&amp;gt;handleError at 462&lt;br&gt;
Failed to open editor. Load of Java classes failed.&lt;br&gt;
&lt;br&gt;
Finally, I am unable to see toolbars above the command&lt;br&gt;
window when running Matlab with Beryl.</description>
    </item>
    <item>
      <pubDate>Sat, 06 Oct 2007 00:08:43 -0400</pubDate>
      <title>Re: java problems in Ubuntu</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/157118#395347</link>
      <author>vladimir </author>
      <description>&quot;Nathanael Greene&quot; &amp;lt;nate.greene@gmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fe0m73$q2h$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I'm running Matlab R2007a in Ubuntu Feisty with Beryl, and I&lt;br&gt;
&amp;gt; have several problems.  Firstly, I can't get matlab to run&lt;br&gt;
&amp;gt; unless I run it as an application in a terminal.  Otherwise&lt;br&gt;
&amp;gt; I receive the error:&lt;br&gt;
&amp;gt;  Failed to start the Desktop: Failure loading desktop class&lt;br&gt;
&lt;br&gt;
I have had a similiar problem with Suse 10.2 with R2007a. I&lt;br&gt;
replaced the jre at&lt;br&gt;
{matlabroot}/sys/java/jre/glnxa64/jre1.5.0 with the current&lt;br&gt;
&amp;nbsp;jre from www.java.com/en/download/manual.jsp, which for me&lt;br&gt;
was jre-6u3-linux-amd64.bin.  After installing the new jre I&lt;br&gt;
updated the jre.cfg file with the jre version number and&lt;br&gt;
matlab started up from the command line.  &lt;br&gt;
&lt;br&gt;
To get it to start from my KDE menu I entered&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;matlab -desktop  &lt;br&gt;
&amp;nbsp;as the command in the KDE Menu Editor which allows it to be&lt;br&gt;
started from a mouse click.&lt;br&gt;
&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I also get this error when I start Matlab:&lt;br&gt;
&amp;gt; Exception in thread &quot;Thread-7&quot; java.lang.NoClassDefFoundError&lt;br&gt;
&amp;gt; 	at&lt;br&gt;
com.mathworks.mde.editor.IDEEditor.&amp;lt;init&amp;gt;(IDEEditor.java:94)&lt;br&gt;
&amp;gt; 	at&lt;br&gt;
&amp;gt;&lt;br&gt;
com.mathworks.mde.editor.IDEEditor.getInstance(IDEEditor.java:66)&lt;br&gt;
&amp;gt; 	at&lt;br&gt;
&amp;gt;&lt;br&gt;
com.mathworks.mde.editor.EditorServices.loadBuiltinEditor(EditorServices.java:499)&lt;br&gt;
&amp;gt; 	at&lt;br&gt;
&amp;gt;&lt;br&gt;
com.mathworks.mde.editor.EditorServices.loadEEIEditor(EditorServices.java:530)&lt;br&gt;
&amp;gt; 	at&lt;br&gt;
&amp;gt;&lt;br&gt;
com.mathworks.mde.editor.EditorViewContainer.&amp;lt;clinit&amp;gt;(EditorViewContainer.java:165)&lt;br&gt;
&amp;gt; 	at java.lang.Class.forName0(Native Method)&lt;br&gt;
&amp;gt; 	at java.lang.Class.forName(Unknown Source)&lt;br&gt;
&amp;gt; 	at&lt;br&gt;
&amp;gt;&lt;br&gt;
com.mathworks.mde.desk.StartupClassLoader.callClassForName(StartupClassLoader.java:304)&lt;br&gt;
&amp;gt; 	at&lt;br&gt;
&amp;gt;&lt;br&gt;
com.mathworks.mde.desk.StartupClassLoader.loadClass(StartupClassLoader.java:282)&lt;br&gt;
&amp;gt; 	at&lt;br&gt;
&amp;gt;&lt;br&gt;
com.mathworks.mde.desk.StartupClassLoader.access$900(StartupClassLoader.java:27)&lt;br&gt;
&amp;gt; 	at&lt;br&gt;
&amp;gt;&lt;br&gt;
com.mathworks.mde.desk.StartupClassLoader$LoadThread.run(StartupClassLoader.java:271)&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I also get this error when trying to run the editor:&lt;br&gt;
&amp;gt; ??? Error using ==&amp;gt; edit&amp;gt;handleError at 462&lt;br&gt;
&amp;gt; Failed to open editor. Load of Java classes failed.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Finally, I am unable to see toolbars above the command&lt;br&gt;
&amp;gt; window when running Matlab with Beryl.</description>
    </item>
    <item>
      <pubDate>Sat, 06 Oct 2007 17:20:28 -0400</pubDate>
      <title>Re: java problems in Ubuntu</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/157118#395391</link>
      <author>Nathanael Greene</author>
      <description>I just upgraded to R2007b, and while I can now start the&lt;br&gt;
application outside of a terminal (which is great), I can no&lt;br&gt;
longer see anything, not even the command window, in the&lt;br&gt;
Matlab window when used in conjunction with Beryl.  Use of:&lt;br&gt;
&quot;export AWT_TOOLKIT=MToolkit&quot; in the Matlab script causes&lt;br&gt;
the program to crash.  2007b contains the most recent JRE&lt;br&gt;
version, so I can't even point it to the newer version.  Any&lt;br&gt;
ideas would be greatly appreciated.  I'm continuing to use&lt;br&gt;
it by turning off Beryl before, but I'd like to be able to&lt;br&gt;
use it with my computer as-is.  Thanks,&lt;br&gt;
Nate</description>
    </item>
    <item>
      <pubDate>Tue, 09 Oct 2007 18:48:32 -0400</pubDate>
      <title>Re: java problems in Ubuntu</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/157118#395841</link>
      <author>Timothy </author>
      <description>&quot;Nathanael Greene&quot; &amp;lt;nate.greene@gmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fe8g4s$aig$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I just upgraded to R2007b, and while I can now start the&lt;br&gt;
&amp;gt; application outside of a terminal (which is great), I can no&lt;br&gt;
&amp;gt; longer see anything, not even the command window, in the&lt;br&gt;
&amp;gt; Matlab window when used in conjunction with Beryl.  Use of:&lt;br&gt;
&amp;gt; &quot;export AWT_TOOLKIT=MToolkit&quot; in the Matlab script causes&lt;br&gt;
&amp;gt; the program to crash.  2007b contains the most recent JRE&lt;br&gt;
&amp;gt; version, so I can't even point it to the newer version.  Any&lt;br&gt;
&amp;gt; ideas would be greatly appreciated.  I'm continuing to use&lt;br&gt;
&amp;gt; it by turning off Beryl before, but I'd like to be able to&lt;br&gt;
&amp;gt; use it with my computer as-is.  Thanks,&lt;br&gt;
&amp;gt; Nate&lt;br&gt;
&lt;br&gt;
I finally got 2007a to work with toolbars inside Beryl using&lt;br&gt;
&quot;AWT_TOOLKIT=MToolkit&quot; on my AMD64 machine (kernel&lt;br&gt;
2.6.18-5-amd64). The trick was to create a symbolic link:&lt;br&gt;
&lt;br&gt;
[matlabroot]/sys/java/jre/glnxa64/jre1.5.0/lib/amd64/motif12 &lt;br&gt;
&lt;br&gt;
to the motif21 directory. Before making this link I was&lt;br&gt;
getting the following error: &quot;Failed to start the Desktop:&lt;br&gt;
Failure loading desktop class&quot; with AWT_TOOLKIT set to&lt;br&gt;
MToolkit. Not sure if this will help in your case, but it&lt;br&gt;
might. Cheers, Tim</description>
    </item>
    <item>
      <pubDate>Wed, 10 Oct 2007 03:54:31 -0400</pubDate>
      <title>Re: java problems in Ubuntu</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/157118#395888</link>
      <author>Nathanael Greene</author>
      <description>First of all, thanks for the response.  I tried that&lt;br&gt;
suggestion and received a Segmentation Fault when I tried to&lt;br&gt;
start Matlab.  Just to make sure I didn't do anything silly,&lt;br&gt;
I tried this two different ways.  I created the symbolic&lt;br&gt;
link using:&lt;br&gt;
ln -s&lt;br&gt;
[matlabroot]/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/motif21&lt;br&gt;
[matlabroot]/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/motif12&lt;br&gt;
&lt;br&gt;
I then edited the Matlab script file and added:&lt;br&gt;
export AWT_TOOLKIT=MToolkit&lt;br&gt;
&lt;br&gt;
When that produced the Seg Fault I removed it and tried&lt;br&gt;
running Matlab instead with:&lt;br&gt;
export AWT_TOOLKIT=MToolkit; matlab -desktop&lt;br&gt;
&lt;br&gt;
This produced the same error.  Minus the AWT_TOOLKIT fix&lt;br&gt;
(with the symbolic link still in place) I still get a blank&lt;br&gt;
area for the entire MATLAB window (except for the Start&lt;br&gt;
button in the bottom left, which miraculously works&lt;br&gt;
perfectly).  Any other ideas?</description>
    </item>
    <item>
      <pubDate>Wed, 10 Oct 2007 12:34:20 -0400</pubDate>
      <title>Re: java problems in Ubuntu</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/157118#395967</link>
      <author>Timothy </author>
      <description>&quot;Nathanael Greene&quot; &amp;lt;nate.greene@gmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fehidn$n8f$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; First of all, thanks for the response.  I tried that&lt;br&gt;
&amp;gt; suggestion and received a Segmentation Fault when I tried to&lt;br&gt;
&amp;gt; start Matlab.  Just to make sure I didn't do anything silly,&lt;br&gt;
&amp;gt; I tried this two different ways.  I created the symbolic&lt;br&gt;
&amp;gt; link using:&lt;br&gt;
&amp;gt; ln -s&lt;br&gt;
&amp;gt; [matlabroot]/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/motif21&lt;br&gt;
&amp;gt; [matlabroot]/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/motif12&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I then edited the Matlab script file and added:&lt;br&gt;
&amp;gt; export AWT_TOOLKIT=MToolkit&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; When that produced the Seg Fault I removed it and tried&lt;br&gt;
&amp;gt; running Matlab instead with:&lt;br&gt;
&amp;gt; export AWT_TOOLKIT=MToolkit; matlab -desktop&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; This produced the same error.  Minus the AWT_TOOLKIT fix&lt;br&gt;
&amp;gt; (with the symbolic link still in place) I still get a blank&lt;br&gt;
&amp;gt; area for the entire MATLAB window (except for the Start&lt;br&gt;
&amp;gt; button in the bottom left, which miraculously works&lt;br&gt;
&amp;gt; perfectly).  Any other ideas?&lt;br&gt;
&lt;br&gt;
Well, I was getting seg faults as well until I switched back&lt;br&gt;
to the jre that shipped with my version of Matlab (2007a),&lt;br&gt;
which is 1.5. Are you using the Java version that shipped&lt;br&gt;
with your version? Is that 1.6? I was getting seg faults&lt;br&gt;
with 1.6. You may want to try using a different jre. I would&lt;br&gt;
try the one that ships with Ubuntu, or maybe you can&lt;br&gt;
download a different version from the Sun website. This may&lt;br&gt;
break other things with 2006b, but I'm not sure. It's worth&lt;br&gt;
a try. &lt;br&gt;
&lt;br&gt;
Also, if you do try another version of Java, you will need&lt;br&gt;
to make sure that you create the symbolic link discussed&lt;br&gt;
earlier in the other Java directory, and tell Matlab to use&lt;br&gt;
the different version. I think you have the symlink correct.&lt;br&gt;
There needs to be a symlink called motif12 that points to&lt;br&gt;
the real directory motif21. Also, are you using the amd64&lt;br&gt;
version of Matlab? Cheers, Tim</description>
    </item>
    <item>
      <pubDate>Thu, 29 May 2008 22:42:02 -0400</pubDate>
      <title>Re: java problems in Ubuntu</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/157118#434938</link>
      <author>Timothy </author>
      <description>Just to follow up on this, in case anyone out there is&lt;br&gt;
interested, I am now using Compiz version&lt;br&gt;
0.6.3~git20080115.0ea58487-1 on Debian Lenny with kernel&lt;br&gt;
2.6.24-1-amd64, and I am running Matlab 2008a. I have found&lt;br&gt;
that the latest snapshot of the JRE is working relatively&lt;br&gt;
well with Matlab, which you can find at&lt;br&gt;
&lt;a href=&quot;http://download.java.net/jdk6/binaries/.&quot;&gt;http://download.java.net/jdk6/binaries/.&lt;/a&gt; I instruct Matlab&lt;br&gt;
to use this JRE by adding this line&lt;br&gt;
&lt;br&gt;
export MATLAB_JAVA=/usr/lib/jvm/jdk1.6.0_10/jre/ &lt;br&gt;
&lt;br&gt;
to the Matlab startup script which for me is located at&lt;br&gt;
/usr/local/matlab76/bin/matlab (your Matlab root may differ,&lt;br&gt;
and the location of your JRE may differ). One key&lt;br&gt;
requirement is that you create the symbolic link from&lt;br&gt;
motif21 to motif12 in the amd64 directory which for me is&lt;br&gt;
located in /usr/lib/jvm/jdk1.6.0_10/jre/lib/amd64 (again&lt;br&gt;
your location may differ). I have found that the old&lt;br&gt;
workaround &quot;export AWT_TOOLKIT=MToolkit&quot; cannot be set for&lt;br&gt;
any of this to work. Also know that the motif12 link is a&lt;br&gt;
total kluge that I don't understand, so proceed at your own&lt;br&gt;
risk. Good luck!&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
Tim</description>
    </item>
    <item>
      <pubDate>Thu, 29 May 2008 22:44:02 -0400</pubDate>
      <title>Re: java problems in Ubuntu</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/157118#434939</link>
      <author>Timothy </author>
      <description>Just to follow up on this, in case anyone out there is&lt;br&gt;
interested, I am now using Compiz version&lt;br&gt;
0.6.3~git20080115.0ea58487-1 on Debian Lenny with kernel&lt;br&gt;
2.6.24-1-amd64, and I am running Matlab 2008a. I have found&lt;br&gt;
that the latest snapshot of the JRE is working relatively&lt;br&gt;
well with Matlab, which you can find at&lt;br&gt;
&lt;a href=&quot;http://download.java.net/jdk6/binaries/.&quot;&gt;http://download.java.net/jdk6/binaries/.&lt;/a&gt; I instruct Matlab&lt;br&gt;
to use this JRE by adding this line&lt;br&gt;
&lt;br&gt;
export MATLAB_JAVA=/usr/lib/jvm/jdk1.6.0_10/jre/ &lt;br&gt;
&lt;br&gt;
to the Matlab startup script which for me is located at&lt;br&gt;
/usr/local/matlab76/bin/matlab (your Matlab root may differ,&lt;br&gt;
and the location of your JRE may differ). One key&lt;br&gt;
requirement is that you create the symbolic link from&lt;br&gt;
motif21 to motif12 in the amd64 directory which for me is&lt;br&gt;
located in /usr/lib/jvm/jdk1.6.0_10/jre/lib/amd64 (again&lt;br&gt;
your location may differ). I have found that the old&lt;br&gt;
workaround &quot;export AWT_TOOLKIT=MToolkit&quot; cannot be set for&lt;br&gt;
any of this to work. Also know that the motif12 link is a&lt;br&gt;
total kluge that I don't understand, so proceed at your own&lt;br&gt;
risk. Good luck!&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
Tim</description>
    </item>
    <item>
      <pubDate>Fri, 10 Sep 2010 19:28:13 -0400</pubDate>
      <title>Re: java problems in Ubuntu</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/157118#778575</link>
      <author>Mark Elliott</author>
      <description>I'm running Ubuntu 9.&lt;br&gt;
After trying all of the tips in this thread, I found a much easier solution:&lt;br&gt;
&lt;br&gt;
1) On the GNOME desktop menus, choose System-&amp;gt;Preferences-&amp;gt;Appearance&lt;br&gt;
2) Click on the &quot;Visual Effects&quot; tab&lt;br&gt;
3) Select &quot;None&quot;&lt;br&gt;
&lt;br&gt;
Matlab should display fine now.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Timothy &quot; &amp;lt;tim@premierweb.com&amp;gt; wrote in message &amp;lt;g1nbji$t6f$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Just to follow up on this, in case anyone out there is&lt;br&gt;
&amp;gt; interested, I am now using Compiz version&lt;br&gt;
&amp;gt; 0.6.3~git20080115.0ea58487-1 on Debian Lenny with kernel&lt;br&gt;
&amp;gt; 2.6.24-1-amd64, and I am running Matlab 2008a. I have found&lt;br&gt;
&amp;gt; that the latest snapshot of the JRE is working relatively&lt;br&gt;
&amp;gt; well with Matlab, which you can find at&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://download.java.net/jdk6/binaries/.&quot;&gt;http://download.java.net/jdk6/binaries/.&lt;/a&gt; I instruct Matlab&lt;br&gt;
&amp;gt; to use this JRE by adding this line&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; export MATLAB_JAVA=/usr/lib/jvm/jdk1.6.0_10/jre/ &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; to the Matlab startup script which for me is located at&lt;br&gt;
&amp;gt; /usr/local/matlab76/bin/matlab (your Matlab root may differ,&lt;br&gt;
&amp;gt; and the location of your JRE may differ). One key&lt;br&gt;
&amp;gt; requirement is that you create the symbolic link from&lt;br&gt;
&amp;gt; motif21 to motif12 in the amd64 directory which for me is&lt;br&gt;
&amp;gt; located in /usr/lib/jvm/jdk1.6.0_10/jre/lib/amd64 (again&lt;br&gt;
&amp;gt; your location may differ). I have found that the old&lt;br&gt;
&amp;gt; workaround &quot;export AWT_TOOLKIT=MToolkit&quot; cannot be set for&lt;br&gt;
&amp;gt; any of this to work. Also know that the motif12 link is a&lt;br&gt;
&amp;gt; total kluge that I don't understand, so proceed at your own&lt;br&gt;
&amp;gt; risk. Good luck!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Cheers,&lt;br&gt;
&amp;gt; Tim&lt;br&gt;
&amp;gt; </description>
    </item>
    <item>
      <pubDate>Fri, 10 Sep 2010 19:29:28 -0400</pubDate>
      <title>Re: java problems in Ubuntu</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/157118#778576</link>
      <author>Mark Elliott</author>
      <description>I'm running Ubuntu 9.&lt;br&gt;
After trying all of the tips in this thread, I found a much easier solution:&lt;br&gt;
&lt;br&gt;
1) On the GNOME desktop menus, choose System-&amp;gt;Preferences-&amp;gt;Appearance&lt;br&gt;
2) Click on the &quot;Visual Effects&quot; tab&lt;br&gt;
3) Select &quot;None&quot;&lt;br&gt;
&lt;br&gt;
Matlab should display fine now.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Timothy &quot; &amp;lt;tim@premierweb.com&amp;gt; wrote in message &amp;lt;g1nbji$t6f$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Just to follow up on this, in case anyone out there is&lt;br&gt;
&amp;gt; interested, I am now using Compiz version&lt;br&gt;
&amp;gt; 0.6.3~git20080115.0ea58487-1 on Debian Lenny with kernel&lt;br&gt;
&amp;gt; 2.6.24-1-amd64, and I am running Matlab 2008a. I have found&lt;br&gt;
&amp;gt; that the latest snapshot of the JRE is working relatively&lt;br&gt;
&amp;gt; well with Matlab, which you can find at&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://download.java.net/jdk6/binaries/.&quot;&gt;http://download.java.net/jdk6/binaries/.&lt;/a&gt; I instruct Matlab&lt;br&gt;
&amp;gt; to use this JRE by adding this line&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; export MATLAB_JAVA=/usr/lib/jvm/jdk1.6.0_10/jre/ &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; to the Matlab startup script which for me is located at&lt;br&gt;
&amp;gt; /usr/local/matlab76/bin/matlab (your Matlab root may differ,&lt;br&gt;
&amp;gt; and the location of your JRE may differ). One key&lt;br&gt;
&amp;gt; requirement is that you create the symbolic link from&lt;br&gt;
&amp;gt; motif21 to motif12 in the amd64 directory which for me is&lt;br&gt;
&amp;gt; located in /usr/lib/jvm/jdk1.6.0_10/jre/lib/amd64 (again&lt;br&gt;
&amp;gt; your location may differ). I have found that the old&lt;br&gt;
&amp;gt; workaround &quot;export AWT_TOOLKIT=MToolkit&quot; cannot be set for&lt;br&gt;
&amp;gt; any of this to work. Also know that the motif12 link is a&lt;br&gt;
&amp;gt; total kluge that I don't understand, so proceed at your own&lt;br&gt;
&amp;gt; risk. Good luck!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Cheers,&lt;br&gt;
&amp;gt; Tim&lt;br&gt;
&amp;gt; </description>
    </item>
    <item>
      <pubDate>Thu, 11 Nov 2010 04:29:03 -0500</pubDate>
      <title>Re: java problems in Ubuntu</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/157118#795110</link>
      <author>Paul Griffiths</author>
      <description>Hi Mark,&lt;br&gt;
&lt;br&gt;
I have looked at this problem and discovered that a patch now exists for compiz that provides a workaround solution.  See https://bugs.launchpad.net/ubuntu/+source/libwnck/+bug/144406.  &lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
&lt;br&gt;
Paul&lt;br&gt;
&lt;br&gt;
&quot;Mark Elliott&quot; &amp;lt;mark3646@gmail.com&amp;gt; wrote in message &amp;lt;i6e0uo$4l6$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I'm running Ubuntu 9.&lt;br&gt;
&amp;gt; After trying all of the tips in this thread, I found a much easier solution:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 1) On the GNOME desktop menus, choose System-&amp;gt;Preferences-&amp;gt;Appearance&lt;br&gt;
&amp;gt; 2) Click on the &quot;Visual Effects&quot; tab&lt;br&gt;
&amp;gt; 3) Select &quot;None&quot;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Matlab should display fine now.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; </description>
    </item>
  </channel>
</rss>

