Failure loading desktop class.

Hi guys,
I recently downloaded from my university the Matlab R2016b. When I try to launch the program a message appears with the following sentence "Internal Error: Failure occurs during desktop startup. Details: failure loading desktop class." I already downloaded JDK ane JRE from java website, but nothing has worked yet.
Thanks =)

Answers (1)

Have you tried the solution from this question? It is old, but it might fix your problem.
If the above fix does not work, follow the instructions below:
1. Delete MATLAB's persistent data files (matlab.prf & matlab.ini).
2. Start MATLAB with the -nodesktop flag.
3. Issue the "desktop" command within MATLAB.
4. Record any error messages from the command window and log a Service Request at:
http://www.mathworks.com/support/contact_us/index.html
indicating that you have looked at this solution already.
5. Follow the instructions in the Related Solution with your help request.

1 Comment

Yep, I already try to use this solution, but it doesn't work. I'm sure that my problem is Java interface and I also downloaded the last updates from java website, but it doesn't seem have any positive effect when I try to run Matlab. =(
Anyway, thank you for help =)

Sign in to comment.

Categories

Community Treasure Hunt

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

Start Hunting!