LINUX.ORG.RU

[xmonad] [matlab] java failed

 ,


0

1

Xmonad отрисовывает матлаб в виде белого прямоугольника.

Первое, что нагуглилось.

$> export AWT_TOOLKIT=MToolkit
$> Unable to initialize com.mathworks.mwswing.MJStartup
Fatal Error on startup: Failure loading desktop class

Затем

$> export MATLAB_JAVA=/opt/sun-jre-bin-1.6.0.26/

$> Unable to initialize com.mathworks.mwswing.MJStartup
java.lang.UnsatisfiedLinkError: Can't load library: /opt/sun-jre-bin-1.6.0.26/lib/amd64/motif12/libmawt.so
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1706)
	at java.lang.Runtime.load0(Runtime.java:770)
	at java.lang.System.load(System.java:1003)
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1724)
	at java.lang.Runtime.loadLibrary0(Runtime.java:823)
	at java.lang.System.loadLibrary(System.java:1028)
	at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
	at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
	at java.awt.Component.<clinit>(Component.java:566)
	at javax.swing.ImageIcon$2.run(ImageIcon.java:95)
	at javax.swing.ImageIcon$2.run(ImageIcon.java:93)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.swing.ImageIcon.createNoPermsComponent(ImageIcon.java:92)
	at javax.swing.ImageIcon.access$000(ImageIcon.java:48)
	at javax.swing.ImageIcon$1.run(ImageIcon.java:70)
	at javax.swing.ImageIcon$1.run(ImageIcon.java:67)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.swing.ImageIcon.<clinit>(ImageIcon.java:67)
	at com.mathworks.mwswing.desk.Desktop.createContrastingIcon(Desktop.java:145)
	at com.mathworks.mwswing.desk.Desktop.<clinit>(Desktop.java:129)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:169)
	at com.mathworks.jmi.OpaqueJavaInterface.findClass(OpaqueJavaInterface.java:470)
Fatal Error on startup: Failure loading desktop class

Версия jm - dev-java/sun-jre-bin-1.6.0.26, с флагами (X alsa nsplugin -jce -odbc)

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.