How can I resolve a Java error when launching Matlab 2012a?

We have installed Matlab 2012a onto our business machines but have come across a slight issue. The software has been installed with full admin rights and has installed successfully.
When the user logs back in and runs the application the software fails to load and a Java log is generated:
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000, pid=3980, tid=4484
JRE version: 6.0_17-b04
Java VM: Java HotSpot(TM) Client VM (14.3-b01 mixed mode windows-x86 )
Problematic frame:
C 0x00000000
If you would like to submit a bug report, please visit:
http://java.sun.com/webapps/bugreport/crash.jsp
We have tried on multiple machines and get the same issue. The user has been added to the admins group but this is also causing the same error.
Java has been re-installed but this has made no difference.

답변 (1개)

Shashank Prasanna
Shashank Prasanna 2013년 5월 3일
Does MATLAB launch without Java?
matlab -nojvm
or
matlab -nodesktop

댓글 수: 4

I can confirm that Matlab will launch with the -nojvm command although only as Matlab command (Which I assume is expected)
It dosn't alunch with the -nodesktop command
The machine is running JRE 7.
I am not sure what platform you are on, but Java 7 is not the supported version of java. You may have changed the java from the default that MATLAB uses manually if it is Win or *nix OS. MATLAB ships its own Java for this platforms and only that is tested and must be used. To change the Java back remove the env variable MATLAB_JAVA
If you are on Mac, things are tricker. Provide some more information about your system if the above doesn't work.
Siddhartha
Siddhartha 2014년 3월 21일
편집: Siddhartha 2014년 3월 21일
Thanks Nerdank.
You're welcome nerdarth, you can buzz me directly if you have questions

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

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

태그

질문:

RWE
2013년 5월 3일

댓글:

2014년 3월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by