MATLAB is not working because of Java

6,649

I found that the macafee virus protection software was blocking java (although matlab did eventually load after thinking about it for literally over 20 minutes).

Try adding matlab or java to your whitelist. I'd love to hear from anyone else with this problem.

Share:
6,649

Related videos on Youtube

Özkan ÖZLÜ
Author by

Özkan ÖZLÜ

Updated on September 18, 2022

Comments

  • Özkan ÖZLÜ
    Özkan ÖZLÜ almost 2 years

    I use Windows 7 x64. I have installed MATLAB 2010a to my computer. After running only the splash screen shows up for a while then program quits. I have found an error log and the first lines of the file says:

    An unexpected error has been detected by Java Runtime Environment:

    EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000778008c5, pid=2156, tid=2656

    Java VM: Java HotSpot(TM) 64-Bit Server VM (11.2-b01 mixed mode windows-amd64) Problematic frame: C [ntdll.dll+0x508c5]

    If you would like to submit a bug report, please visit: http://java.sun.com/webapps/bugreport/crash.jsp

    I am not sure if I am right place to ask this. I have changed my visual styles to windows classic.

    I have tried to run MATLAB with -nojvm parameter. Only command window showed on the screen. Then I enter desktop command. but it did not accepted my command. It says:

    Desktop is not supported because Java is not currently available.

    As far as I have researched it is Java problem. I have uninstalled JRE 7u45 and then installed JRE 6u45x64. Nothing has changed.

    • Ramhound
      Ramhound over 10 years
      What is the required version of the JRE that Matlab 2010a uses? If you don't know, then contact Matlab, and update the question with the supplied information.
    • A. Donda
      A. Donda over 10 years
      Matlab comes with its own Java (AFAIK). It is possible that your installation of the JRE made Matlab's own somehow inaccessible. A possible solution would therefore be to uninstall the system JRE.
    • DanteTheEgregore
      DanteTheEgregore over 10 years
      This honestly sounds like a problem with MATLAB and not Java itself. Have you tried reinstalling MATLAB as well?
    • Özkan ÖZLÜ
      Özkan ÖZLÜ over 10 years
      @A.Donda I have unistalled all java stuff. Then reinstalled MATLAB. It did not run either.