Failure Loading Desktop Class
Oct 16
Geek Stuff, Neat Stuff 12 Comments
I got this error when trying to run MATLAB 6 R12.
“Failure Loading Desktop Class”
The first result in Google didn’t help. But Solution 1-1881O did.
I’m running Windows XP on a Dell Dimension 4600 with a 2.4 GHz Pentium 4. With a similar (P4-based) setup, you may get the same error. To fix it, simply download and run this patch: JREpatch.exe.
Make sure MATLAB is closed when you run it. The first time I did, I was running MATLAB (although it wasn’t working) – and some files couldn’t be overwritten. After running the patch, MATLAB worked like a charm.
RSS
Oct 16, 2005 @ 16:38:46
There’s a simple rule when running Matlab that everyone must remember: “Matlab is evil. None other will ever be as evil as Matlab. Bow before its evil.”
And that’s my story of hatred towards Matlab as I, the sayer of Moo!, must hate all things evil and as demonstrated by the above rule: Matlab is evil. (Evil monkeys and any cults they may form are perfectly ok.)
Jan 08, 2007 @ 20:15:13
I did a google search as I was having the same problem and ran across this site. Thanks!!
Jan 16, 2007 @ 10:26:50
That patch really worked. Thanks a lot!
Mar 11, 2007 @ 19:03:52
this really works. thanks a lot!!!!!!
Mar 22, 2007 @ 00:53:26
Thank you very much! Perfect easy solution…
Apr 22, 2007 @ 11:03:10
thank about the solution
Sep 12, 2007 @ 04:04:01
Thank you very much for patch.
Oct 03, 2007 @ 22:29:22
Thanks so much! Patch worked great! Saved me from many future headaches.
Jan 29, 2008 @ 15:25:43
Thanks a lot ^^
Mar 08, 2008 @ 18:01:37
it doesnt work
Apr 01, 2008 @ 11:43:41
Worked !!
At first it didnt as I hadnt changed the classpath in the MATLAB_JAVA variable in the system enviornment.
It works fine now.Thanks !
May 19, 2009 @ 16:14:12
Thank you for the solution.
I was having the same problem when I tried installing MATLAB to my desktop recently. It is an old machine with P4 processor. Incidentally, the same copy of MATLAB (v6R12) was working fine on my Laptop for the last 3 years.
The solution worked, but since MATLAB has deleted the page from where you can download the JRE patch, I simply downloaded the newer version of the JRE and installed it in the same location where MATLAB installs the JRE.
Download this version of the JRE from:
http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jre-1_1_8_010-windows-i586.exe?BundledLineItemUUID=tzRIBe.mkPsAAAEh0jAH4Vsc&OrderID=YkhIBe.mteMAAAEhtjAH4Vsc&ProductID=F4TACUFBOOMAAAEYPmo5AXiq&FileName=/jre-1_1_8_010-windows-i586.exe
And when you install it, give the installation path as:
C:\matlabR12\sys\java\jre\win32\jre
It shall then overwrite the previous MATLAB installed JRE. MATLAB 6 R12 worked like a charm since then.