MATALAB problem with JAVA
显示 更早的评论
I use MATLAB R2011a, 64 bit, and my operating system is a 64-bit Windows 7 Ultimate. While trying to perform some simulations with my M-file codes, after some times MATALB stops working, goes white, and the only possibility is to close it. I think It is related to JAVA program, since sometimes when I open MATLAB i get this error:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: java/awt/Event at java.awt.AWTEvent.convertToOld (Unknown Source)
Does this version of MATLAB needs a specific JAVA version?
回答(1 个)
MURAT
2014-2-11
0 个投票
Download last java.If matlab x86 then java x86 and vice versa.Goto Computer (right click)->Properities->Advanced System Settings-> System variables(at bottom). Then if exists change else add MATLAB_JAVA and java path(C:\Program Files\Java\jre7).Restart Matlab.This solves my problem.
类别
在 帮助中心 和 File Exchange 中查找有关 Univariate Discrete Distributions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!