Guide GUI's are all blank gray boxes, something is wrong....

Hello everyone!
Well I have an issue with Guide GUI's. I will run a GUI based program and it will display a gray box the correct size, but it has nothing in it, all the buttons or displays or plots do not show up at all. It remains an empty gray box...
I have tried a few different GUI's and even made one with all of them having the same result. I run MATLAB on a linux, I know I have had the GUI's working in the past, but now they don't. I'm not sure what changed, it could of been in an automatic update, I don't know.
This is a post found that looked similar, but it did not seem to really answer how to fix the issue:
It happens to all GUI's so I did not think I needed to add code. I did try looking it up too, I found others with the same issue (it looks like it could be some type of Java issue, but I'm not sure), but did not really find a way to fix the issue.
Any help will be very appreciated!!!
Please if you know how to fix it, let me know!

댓글 수: 4

Which version of java are you using? The link that you provided mentioned how that may be a problem.
Well when I put in the command, "version -java", I get:
Java 1.7.0_51-b13 with Oracle Corporation Java HotSpot™ 64-bit Server VM mixed mode
I hope that helps, thank you!
Based on the link you gave, that, Java version 7, is the problem.
If possible try to downgrade the java, and check whether the probel persist.
Well I will try to downgrade it, thanks!

댓글을 달려면 로그인하십시오.

 채택된 답변

Chris E.
Chris E. 2014년 6월 6일

0 개 추천

It was the Java! I reinstalled Java 6 and it worked fine!

추가 답변 (1개)

Jack
Jack 2014년 6월 20일
편집: Jack 2014년 6월 20일

0 개 추천

Hi. This is my prlbem:
When I connect java to new java (version 6) 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.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

질문:

2014년 6월 5일

편집:

2014년 6월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by