How can I resolve a Java error when launching Matlab 2012a?
Show older comments
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)
Shashank Prasanna
on 3 May 2013
Does MATLAB launch without Java?
matlab -nojvm
or
matlab -nodesktop
4 Comments
RWE
on 7 May 2013
Shashank Prasanna
on 7 May 2013
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
on 21 Mar 2014
Edited: Siddhartha
on 21 Mar 2014
Thanks Nerdank.
Shashank Prasanna
on 21 Mar 2014
You're welcome nerdarth, you can buzz me directly if you have questions
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!