Matlab 2021b is not getting started on windows 10 - Fatal error on startup

조회 수: 19 (최근 30일)
pratul gupta
pratul gupta . 2022년 1월 24일
답변: Kumar Pallav . 2022년 1월 26일
Matlab 2021b is not getting started on windows 10 - Fatal error on startup. Following popup is coming:
Fatal error on startup
Java exception occured:
java.lang.NoClassDefFoundError.Could not initialise class com.mathworks.mde.desk.MLDesktop
following is Matlab environmental variable path- C:\Program Files\MATLAB\R2021b
Java path :- C:\Program Files\Java\jre1.8.0_321\bin
What should be done to solve the issue
  댓글 수: 1
ali hassan
ali hassan 2022년 1월 24일
unistall matlab and install it again from website "getintopc"...follow the read me and enjoy.

댓글을 달려면 로그인하십시오.

답변 (1개)

Kumar Pallav
Kumar Pallav 2022년 1월 26일
This error might have occurred due to Improper installation of MATLAB.
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:
>>rehash toolboxcache
4. Restart MATLAB normally.
If the above solution does not work, try reinstalling MATLAB.


Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기


Community Treasure Hunt

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

Start Hunting!

Translated by