I installed Mandriva 2007 Spring x86_64 on my Dell Inspiron 1720.
After installation of Matlab 2007a x86_64, Matlab started fine.
I then configured Mandriva to use Metisse.

When I start 'matlab' on the command prompt, I get:
[bert@localhost ~]$ matlab
Failed to start the Desktop: Failure loading desktop class

When I start 'matlab -nodesktop', I get:
[bert@localhost ~]$ matlab -nodesktop
Couldn't load Look and Feel: java.lang.InternalError: Could not get visual
info
But I get a matlab command prompt.
When I run on this prompt 'bench(2)', I get:
>> bench(2)

Opening log file: /home/bert/java.log.5076
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.Toolkit$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Unknown Source)
at java.awt.Toolkit.getEventQueue(Unknown Source)
at java.awt.EventQueue.isDispatchThread(Unknown Source)
at javax.swing.SwingUtilities.isEventDispatchThread(U nknown Source)
at
com.mathworks.hg.peer.FigureComponentContainer.upd ateUI(FigureComponentContainer.java:105)
at javax.swing.JPanel.(Unknown Source)
at javax.swing.JPanel.(Unknown Source)
at javax.swing.JPanel.(Unknown Source)
at com.mathworks.mwswing.MJPanel.(MJPanel.java:57)
at
com.mathworks.hg.peer.FigureComponentContainer.(FigureComponentContainer.java:54)
at com.mathworks.hg.peer.FigurePeer.(FigurePeer.java:97)
at com.mathworks.hg.peer.FigurePeer.(FigurePeer.java:275)
??? Error using ==> figure
Error using ==> figure
Creation of Java Peer for Figure window failed.


------------------------------------------------------------------------
Segmentation violation detected at Sun Sep 2 21:18:19 2007
------------------------------------------------------------------------

Configuration:
MATLAB Version: 7.4.0.287 (R2007a)
MATLAB License:
Operating System: Linux 2.6.17-15mdv #1 SMP Tue Aug 14 18:32:17 MDT 2007
x86_64
GNU C Library: 2.4 development
Window System: The X.Org Group (6600), display :1.0
Current Visual: 0x21 (class 4, depth 16)
Virtual Machine: Java 1.5.0_04 with Sun Microsystems Inc. Java
HotSpot(TM) 64-Bit Server VM mixed mode
Default Charset: UTF-8

Register State:
rax = 0000000000000000 rbx = 00002ae09b206ec0
rcx = 0000000000000003 rdx = 00000000005b2120
rbp = 0000000000000000 rsi = 00002ae09b206ec0
rdi = 0000000000000000 rsp = 00007fff16279460
r8 = 00007fff162795b0 r9 = 00002ae099085324
r10 = 0000000000000000 r11 = 00002ae09b59ef50
r12 = 0000000000000000 r13 = 00002ae09b7d6840
r14 = 00000000006382a0 r15 = 0000000000000001
rip = 00002ae09b59efa3 flg = 0000000000010246

Stack Trace:

Please follow these steps to report this problem to The MathWorks so we
have the best chance of correcting it:

The next time MATLAB is launched under typical usage, a dialog box will
open to help you send the error log to The MathWorks. Alternatively, you
can send an e-mail to segv@mathworks.com with the following file attached:
/home/bert/matlab_crash_dump.5076

If the problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/con...request_1.html

A technical support engineer might contact you with further information.

Thank you for your help. Save your workspace and restart MATLAB.

Error in ==> bench at 48
fig1 = figure;

>> java.lang.NoClassDefFoundError

at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.Toolkit$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Unknown Source)
at java.awt.Toolkit.getEventQueue(Unknown Source)
at java.awt.EventQueue.isDispatchThread(Unknown Source)
at javax.swing.SwingUtilities.isEventDispatchThread(U nknown Source)
at com.mathworks.hg.util.HGUtils.flushHGPeerQueue(HGU tils.java:110)
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.Toolkit$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Unknown Source)
at java.awt.Toolkit.getEventQueue(Unknown Source)
at java.awt.EventQueue.isDispatchThread(Unknown Source)
at javax.swing.SwingUtilities.isEventDispatchThread(U nknown Source)
at com.mathworks.hg.util.HGUtils.flushHGPeerQueue(HGU tils.java:110)

When I start matlab as 'matlab -nojvm', I get a command prompt and can
run 'bench(2)' without problems, the figures are displayed correctly.

I google't for this error and found somewhere that
export AWT_TOOLKIT=MToolkit
is needed. This worked for me in the past with Mandriva 2007 i586 and 3D
Desktop on my desktop machine.
But on my new notebook, it doesn't.

What is the link between a display manager Metisse and java ... ?