switchng folder to desktop in catalina 10.15
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jim Gibson
el 30 de Oct. de 2019
Comentada: 竞舸 何
el 7 de Mayo de 2021
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 comentarios
竞舸 何
el 7 de Mayo de 2021
but the video shows how to fix it on macos. My system is windows. What should i do?
Respuesta aceptada
Felix Huang
el 3 de Dic. de 2019
Editada: Felix Huang
el 4 de Dic. de 2019
I went to "security and privacy" and under "privacy" I selected "full disk access" and assigned that privilege to MATLAB. Strangely, my Apple News browser opened up when I re-opened MATLAB. Now it works. And now MATLAB is using my hard drive to bake apple pies I suppose.
11 comentarios
Joan Saldana
el 25 de Dic. de 2020
Thank you very much Felix! I had the same problem (macOS Big Sur and MATLAB R2020b) and this fixed the problem.
Más respuestas (0)
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!