No, this method does not work for me. I am using Matlab 2007b, and export
AWT_TOOLKIT=MToolkit will give me the following error.
Unable to initialize com.mathworks.mwswing.MJStartup
java.lang.UnsatisfiedLinkError: Can't load library:
/opt/matlab/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/motif12/libmawt.so
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
at javax.swing.ImageIcon.<clinit>(Unknown Source)
at com.mathworks.mwswing.desk.Desktop.<clinit>(Desktop.java:103)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.mathworks.jmi.OpaqueJavaInterface.findClass(
OpaqueJavaInterface.java:470)
Failed to start the Desktop: Failure loading desktop class
On 10/17/07, Rouben <email address hidden> wrote:
>
> Ah, OK, so this is a Java configuration issue then. I am therefore
> marking this bug as invalid.
>
> ** Changed in: compiz (Ubuntu)
> Status: New => Invalid
>
> --
> Ubuntu 7.10: Mathematica and Matlab conflict with Compiz-fusion
> https://bugs.launchpad.net/bugs/153045
> You received this bug notification because you are a direct subscriber
> of the bug.
>
No, this method does not work for me. I am using Matlab 2007b, and export MToolkit will give me the following error.
AWT_TOOLKIT=
Unable to initialize com.mathworks. mwswing. MJStartup UnsatisfiedLink Error: Can't load library: sys/java/ jre/glnxa64/ jre1.6. 0/lib/amd64/ motif12/ libmawt. so ClassLoader. loadLibrary( Unknown Source) Runtime. load0(Unknown Source) System. load(Unknown Source) ClassLoader$ NativeLibrary. load(Native Method) ClassLoader. loadLibrary0( Unknown Source) ClassLoader. loadLibrary( Unknown Source) Runtime. loadLibrary0( Unknown Source) System. loadLibrary( Unknown Source) action. LoadLibraryActi on.run( Unknown Source) AccessControlle r.doPrivileged( Native Method) NativeLibLoader .loadLibraries( Unknown Source) DebugHelper. <clinit> (Unknown Source) Component. <clinit> (Unknown Source) ImageIcon. <clinit> (Unknown Source) mwswing. desk.Desktop. <clinit> (Desktop. java:103) Class.forName0( Native Method) Class.forName( Unknown Source) jmi.OpaqueJavaI nterface. findClass( face.java: 470)
java.lang.
/opt/matlab/
at java.lang.
at java.lang.
at java.lang.
at java.lang.
at java.lang.
at java.lang.
at java.lang.
at java.lang.
at sun.security.
at java.security.
at sun.awt.
at sun.awt.
at java.awt.
at javax.swing.
at com.mathworks.
at java.lang.
at java.lang.
at com.mathworks.
OpaqueJavaInter
Failed to start the Desktop: Failure loading desktop class
On 10/17/07, Rouben <email address hidden> wrote: /bugs.launchpad .net/bugs/ 153045
>
> Ah, OK, so this is a Java configuration issue then. I am therefore
> marking this bug as invalid.
>
> ** Changed in: compiz (Ubuntu)
> Status: New => Invalid
>
> --
> Ubuntu 7.10: Mathematica and Matlab conflict with Compiz-fusion
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
--
cell phone: 310-210-1764
Skype: walkingsparrow
SkypeIn #: 773-782-6271
email, MSN, GTalk: <email address hidden>
email: <email address hidden>
QQ: 664232662