switchng folder to desktop in catalina 10.15
Show older comments
Tried to switch the folder to Desktop and got this:
Exception in thread "ContributedToolsLoader": java.lang.NoClassDefFoundError: Could not initialize class java.nio.file.FileSystems$DefaultFileSystemHolder
at java.nio.file.FileSystems.getDefault(FileSystems.java:176)
at java.io.File.toPath(File.java:2234)
at com.mathworks.resources_folder.ResourcesFolderUtils.getResourcesFolderName(ResourcesFolderUtils.java:31)
at com.mathworks.mde.desk.ContributedTools.constructToolSetFileName(ContributedTools.java:103)
at com.mathworks.mde.desk.ContributedTools.<init>(ContributedTools.java:65)
at com.mathworks.mde.desk.ContributedToolsLoader$3.run(ContributedToolsLoader.java:69)
at java.lang.Thread.run(Thread.java:748)
Exception in thread "Startup Class Loader": java.lang.NoClassDefFoundError: Could not initialize class com.mathworks.instutil.InstutilResourceKeys
at com.mathworks.mlwidgets.help.DocCenterRoot.initDocRelease(DocCenterRoot.java:44)
at com.mathworks.mlwidgets.help.DocCenterRoot.<clinit>(DocCenterRoot.java:26)
at com.mathworks.mlwidgets.help.HelpPrefs.<clinit>(HelpPrefs.java:49)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.mathworks.mlservices.MLHelpServices.getDocRoot(MLHelpServices.java:522)
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.getDocrootDirectory(ProductInfoUtils.java:698)
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.getAbsolutePath(ProductInfoUtils.java:685)
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.parseFile(ProductInfoUtils.java:250)
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.parseFiles(ProductInfoUtils.java:310)
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.pathChanged(ProductInfoUtils.java:154)
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.<init>(ProductInfoUtils.java:80)
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.getAllProductsInfo(ProductInfoUtils.java:887)
at com.mathworks.mlwidgets.util.productinfo.ProductInfoUtils.<clinit>(ProductInfoUtils.java:66)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.mathworks.mde.desk.StartupClassLoader$LoadInfo.<init>(StartupClassLoader.java:112)
at com.mathworks.mde.desk.StartupClassLoader.createLoadInfos(StartupClassLoader.java:202)
at com.mathworks.mde.desk.StartupClassLoader.access$500(StartupClassLoader.java:25)
at com.mathworks.mde.desk.StartupClassLoader$2.run(StartupClassLoader.java:223)
at java.lang.Thread.run(Thread.java:748)
Exception in thread "initialSetupAfterConnector Thread": java.lang.NoClassDefFoundError: Could not initialize class java.nio.file.FileSystems$DefaultFileSystemHolder
at java.nio.file.FileSystems.getDefault(FileSystems.java:176)
at java.nio.file.Paths.get(Paths.java:138)
at com.mathworks.webservices.urlmanager.ReleaseEnvImpl.<clinit>(ReleaseEnvImpl.java:41)
at com.mathworks.webservices.urlmanager.UrlManagerImpl.<init>(UrlManagerImpl.java:39)
at com.mathworks.webservices.urlmanager.UrlManagerFactory.createUrlManager(UrlManagerFactory.java:13)
at com.mathworks.matlab_login.LoginWorkspace.getAuthenticationEndpoint(Unknown Source)
at com.mathworks.matlab_login.LoginWorkspace.access$000(Unknown Source)
at com.mathworks.matlab_login.LoginWorkspace$MyAbstractModule.configure(Unknown Source)
at com.google.inject.AbstractModule.configure(AbstractModule.java:62)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340)
at com.google.inject.spi.Elements.getElements(Elements.java:110)
at com.google.inject.util.Modules$OverrideModule.configure(Modules.java:177)
at com.google.inject.AbstractModule.configure(AbstractModule.java:62)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340)
at com.google.inject.spi.Elements.getElements(Elements.java:110)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
at com.google.inject.Guice.createInjector(Guice.java:96)
at com.google.inject.Guice.createInjector(Guice.java:73)
at com.google.inject.Guice.createInjector(Guice.java:62)
at com.mathworks.matlab_login.LoginWorkspace.createInjector(Unknown Source)
at com.mathworks.matlab_login.LoginWorkspace.executeTask(Unknown Source)
at com.mathworks.matlab_login.MatlabLogin.checkUsersLoggedInState(Unknown Source)
at com.mathworks.matlab_login.MatlabLogin.isUserLoggedIn(Unknown Source)
at com.mathworks.matlab_login.MatlabLogin.isUserLoggedIn(Unknown Source)
at com.mathworks.matlab_login.MatlabLogin.isUserLoggedIn(Unknown Source)
at com.mathworks.mde.desk.LoginStatusIndicator.getLoginInfo(LoginStatusIndicator.java:445)
at com.mathworks.mde.desk.LoginStatusIndicator.access$000(LoginStatusIndicator.java:52)
at com.mathworks.mde.desk.LoginStatusIndicator$2.run(LoginStatusIndicator.java:162)
at java.lang.Thread.run(Thread.java:748)
Exception in thread "C4U RetrieveDataThread": java.lang.NoClassDefFoundError: Could not initialize class com.mathworks.webservices.urlmanager.ReleaseEnvImpl
at com.mathworks.webservices.urlmanager.UrlManagerImpl.<init>(UrlManagerImpl.java:39)
at com.mathworks.webservices.urlmanager.UrlManagerFactory.createUrlManager(UrlManagerFactory.java:13)
at com.mathworks.webintegration.checkforupdates.CheckForUpdatesDialogImpl$RetrieveDataThread.run(CheckForUpdatesDialogImpl.java:176)
Now Matlab doesn't work at all. How do I fix this?
6 Comments
Javier Rubio-Herrero
on 5 Nov 2019
Edited: Javier Rubio-Herrero
on 5 Nov 2019
I have exactly the same issue. It happened when switvhing folders as well. Now I don't know how to fix it either.
Ashlee Falls
on 21 Oct 2020
Hi! I'm the one who asked the question, but I kept looking and found this on YouTube and it worked perfectly. Hope this helps you too! https://www.youtube.com/watch?v=h7gEMcfeLB8
Miray Yasar
on 30 Nov 2020
It works! I have trying to fix it for a week. But with this video it is done in just 5 sec!
Thanks alot.
Selen Erman
on 31 Dec 2020
Thank you, this video helped me a lot !!
Enas S.
on 17 Feb 2021
thank you very much it is works
竞舸 何
on 7 May 2021
but the video shows how to fix it on macos. My system is windows. What should i do?
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!