The workaround from comment 8 makes matlab crash on startup. So this is essentially unsolved without any workaround.
1 jakob@black:/tmp$ export AWT_TOOLKIT=MToolkit 0 jakob@black:/tmp$ matlab Unable to initialize com.mathworks.mwswing.MJStartup Fatal Error on startup: Failure loading desktop class 1 jakob@black:/tmp$
The workaround from comment 8 makes matlab crash on startup.
So this is essentially unsolved without any workaround.
1 jakob@black:/tmp$ export AWT_TOOLKIT= MToolkit mwswing. MJStartup
0 jakob@black:/tmp$ matlab
Unable to initialize com.mathworks.
Fatal Error on startup: Failure loading desktop class
1 jakob@black:/tmp$