I have just installed Matlab 2018b and a few toolboxes having previously had Matlab 2016b. The installtion went ok but when I try running Matlab 2018b I get a Fatal Error on Startup mesage: Java exception occurred

Answers (1)

Hi Barry,
In order to work around the issue, start MATLAB with 'nojvm' tag. Please follow the steps given below:
1. Open Command Prompt and navigate to the drive where you installed MATLAB.
2. Execute the following command to open MATLAB with 'nojvm' tag in Command Prompt:
>>matlab -nojvm
3. MATLAB Command Window will open up and then you can execute the following commands in it:
>>restoredefaultpath
>>rehash toolboxcache
4. Restart MATLAB normally.
Hope this helps !
Regards
Pinkesh Narsinghani

This question is closed.

Products

Asked:

on 18 Sep 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!