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.

Answers (1)

Does MATLAB launch without Java?
matlab -nojvm
or
matlab -nodesktop

4 Comments

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.
Thanks Nerdank.
You're welcome nerdarth, you can buzz me directly if you have questions

Sign in to comment.

Categories

Products

Tags

Asked:

RWE
on 3 May 2013

Commented:

on 21 Mar 2014

Community Treasure Hunt

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

Start Hunting!