Many Java erros under Windows 7 using "Windows 7 basic" theme.

3 次查看(过去 30 天)
Hello,
If I set the windows 7 desktop theme "Windows 7 Basic", matlab opens with "Error Starting Desktop" windows listing many Java errors (java.lang.NullPointerException".....) But instead if I use "Windows Classic" theme it works fine! I am using Matlab R2007a.

回答(5 个)

Jan
Jan 2012-3-23
Matlab 2007a does not support Windows 7. The workaround to disable the Aero-Desktop is sufficient, but there is no workaround for this workaround.
I run Matlab 6.5 in a Virtual PC under XP/32. While I assume, that Matlab itself would run (with enabled compatibility modes and without Aero), the license manager crashs efficiently.
  1 个评论
Cem
Cem 2012-3-23
Hello Jan,
But I was able to install on another machine, and it works there. I just do not know how! But I will follow your advise and install it under Win XP in a virtual box. Thank you.

请先登录,再进行评论。


Jason Ross
Jason Ross 2012-3-23
Have you tried turning off UAC? MATLAB could be trying to write somewhere where Windows thinks it shouldn't be? As a quick experiment, see if running it as Adminstrator makes a difference (right-click on icon, Run As Administrator)
Also if you google on this I know there are a few threads on cssm regarding what people have done.
  3 个评论
Jason Ross
Jason Ross 2012-3-23
Don't run the installation as admin, run the application as admin.
But if UAC is off you are already pretty much back in the XP security model anyway.
Cem
Cem 2012-3-24
I am running application as admin too. Doesn't make any difference. It's a Java related error. Matlab works if the Win 7 desktop theme is Classic, if not doesn't.

请先登录,再进行评论。


Chris
Chris 2012-3-23
I get the same think and I am using the latest b version with windows 7 . I am not sure why but it seems to happen when I have a for loop that has been running after a few hours I get this. It is really annoying because I have to stop and restart.

Chris
Chris 2012-3-23
I also noticed that it tends to happen a lot when I am running something else java related. I use logmein and it seems to happen everytime I use logmein, I am not sure the connection. I just turned my windows 7 to classic and disabled user account control and will let you know if it fixes.

Chris
Chris 2012-3-24
I disabled user account control, went to the windows classic scheme and same problem. As soon as I remoted into my computer via logmein it caused all sorts of java errors in the matlab command window. Not sure why but something with logmein causes matlab to go crazy.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2007a

Community Treasure Hunt

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

Start Hunting!

Translated by