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
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Java exception occurs on start up
Answers (1)
Pinkesh Narsinghani
on 21 Sep 2018
Edited: Pinkesh Narsinghani
on 21 Sep 2018
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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!