由于Java错误而导致打开Matlab时出错 [英] Error opening matlab due to Java error

查看:795
本文介绍了由于Java错误而导致打开Matlab时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图简单地打开matlab我有一个Java异常.除了可能自动地更新Java外,我什么也没做.有人遇到过这个问题吗?

I was trying to simply open matlab I had a java exception. I didn't do anything except probably update java automagically. Has anyone had this problem before?

这是在优胜美地的MAC OS上.

This is on MAC OS, yosemite.

错误消息:

推荐答案

该特定错误是由于安装了Mac OS Yosemite发行之前发行的MATLAB版本所致.具体来说,如果您运行的是优胜美地发布之前的Mac OS版本,然后决定升级到优胜美地,那么在事实发生后尝试运行MATLAB时会产生此错误.

That particular error is due to installing a version of MATLAB that was released before the release of Mac OS Yosemite. Specifically, if you were running a version of Mac OS that is prior to the release of Yosemite, and then you decide to upgrade to Yosemite, you will generate this error when trying to run MATLAB after the fact.

这是一个众所周知的错误,不幸地困扰着许多优胜美地用户.

It is a well-known bug that has unfortunately plagued a lot of Yosemite users.

如果您咨询以下特定的MathWorks线程: http://www.mathworks.com/matlabcentral/newsreader/view_thread/336387 ,在拥有这样版本的MATLAB的情况下升级到优胜美地,将在启动时生成java.lang.NullPointerException.幸运的是,MathWorks已发布了修补程序以修补您的MATLAB,以便您可以使其再次运行.

If you consult this particular MathWorks thread: http://www.mathworks.com/matlabcentral/newsreader/view_thread/336387 , upgrading to Yosemite while having such a version of MATLAB will generate a java.lang.NullPointerException on startup. Fortunately, MathWorks has released a patch to patch up your MATLAB so you can get it running again.

有关修补MATLAB程序的更多详细信息,请参见此链接.

See this link for more details on patching up your MATLAB program.

http://www.mathworks.com/support/bugreports/1098655

请确保您下载了与您拥有的MATLAB版本相对应的正确补丁.

Make sure you download the right patch that corresponds to the MATLAB version you have.

这篇关于由于Java错误而导致打开Matlab时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆