MATLAB Fix MATLAB Error - Get Help Now

  • Thread starter Thread starter exequor
  • Start date Start date
  • Tags Tags
    Matlab
AI Thread Summary
The discussion centers around an issue with MATLAB not launching properly, displaying an error related to the Java Runtime Environment (JRE). Users suggest that the problem may stem from an incorrect or outdated JRE installation. To resolve this, it is recommended to install the latest version of the JRE from Sun. If the latest JRE is already installed, modifications to the Windows registry may be necessary, specifically adjusting the registry key that MATLAB uses to locate the Java compiler. One user notes that MATLAB includes its own Java files within its installation directory, indicating that the issue may not solely rely on the system's default Java path. An error log is referenced for further troubleshooting.
exequor
Messages
393
Reaction score
0
I just installed MATLAB but I get this screen when i try to run it: http://www.themodule.net/matlaberror.gif

Does anyone have an idea of how this can be fixed.
 
Last edited by a moderator:
Physics news on Phys.org
I think that, somehow the java runtime environment in your machine has bungled up.

OK for starters, you can try installing the latest JRE from sun. If you already have the latest JRE, then i guess some hacking has to be done to the registry. Now i cannot recall which registry key it was, but if i am not wrong there is a registry key for MATLAB that stores the path for the java compiler that it wants to use. By setting it to the path of the latest JRE, i guess the problem should be solved. (It is highly possible that MATLAB uses the default path for java used by windows, so one can check out that key in the registry as well).

-- AI
 
I did not see anything in the registry for that; however, i noticed that MATLAB installed it's own java files (within the MATLAB directory). Here is what the error log looks like:
http://www.themodule.net/error.log
 
Last edited by a moderator:

Similar threads

Replies
4
Views
4K
Replies
5
Views
2K
Replies
1
Views
2K
Replies
32
Views
4K
Replies
5
Views
3K
Replies
2
Views
3K
Replies
5
Views
2K
Back
Top