Matlab gui problem in Ubuntu

Hi.
I installed Matlab R2014a 64bit in Ubuntu 13.04 64bit. Last month I designed a program with GUIDE in windows Matlab. Now I want use it in Ubuntu Matlab but all elements in Gui figures is like a disaster. Position of buttons and other elements in GUI changed. Style of buttons and other elements changed. The GUI window now is Gray!. The size of GUI windows changed. when I open GUI in guide every think is good. The size is OK but when I run it I can't see a part of window that is beyond the screen size of display (that part cuts from window).
When I checked java version with 'version -java' in windows, it is : Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode.
I checked it in Ubuntu Matlab and it is the same. My destined program is working properly in windows.
I changed Unity to classic gnome. Nothing changed. I have same problem.
What should I do for this problem?
Thanks.

6 Commenti

Jack
Jack il 19 Giu 2014
Modificato: Jack il 19 Giu 2014
Thank you for reply. when I change MATLAB_JAVA in Matlab terminal, and check java version in Matlab, The java version in Matlab is the same (1.7). What should I do? Can you get me link of appropriate java 1.6 ? I got it from oracle but didn't work.
Thanks.
Geoff Hayes
Geoff Hayes il 19 Giu 2014
I am running MATLAB 2014a on Mac OS 10.8.5 so am not well placed to provide a link for the Java version that you require. You could contact the poster from the above link and see what he has to say since he was successfully able to change to Java 1.6.
Jack
Jack il 20 Giu 2014
Another problem. When I connect java to new java and run it I have this error :
Fatal Error on startup: Cannot locate or initialize class com/mathworks/jmi/OpaqueJavaInterface. java.lang.UnsupportedClassVersionError: com/mathworks/jmi/OpaqueJavaInterface : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
I'm downgrading java 1.7 of Matlab R2014a to 1.6
Thanks.
Geoff Hayes
Geoff Hayes il 20 Giu 2014
And if you put back java 1.7?
Jack
Jack il 20 Giu 2014
When I use downloaded java 1.7 with terminal and connect it to Matlab there isn’t any problem so I think the problem is only in downgrading it to 1.6.

Accedi per commentare.

Risposte (0)

Categorie

Prodotti

Richiesto:

il 19 Giu 2014

Commentato:

il 20 Giu 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by