The next time I started, I got the issue. The only thing I can think of is that it was working until I did a Cmd+Shift+W to close code. I also tried restarting my computer and that didn't do anything.
I tried uninstalling and reinstalling the extension and I still get the issue.
!MESSAGE Problems occurred when invoking code from plug-in: "".Īt .(LaunchingPlugin.java:1008)Īt .(LaunchingPlugin.java:980)Īt .(VMDefinitionsContainer.java:557)Īt .(VMDefinitionsContainer.java:494)Īt .(VMDefinitionsContainer.java:473)Īt .JavaRuntime.addPersistedVMs(JavaRuntime.java:1499)Īt .JavaRuntime.initializeVMs(JavaRuntime.java:2671)Īt .JavaRuntime.getVMInstallTypes(JavaRuntime.java:539)Īt .(EnvironmentsManager.java:241)Īt .(ExecutionEnvironment.java:181)Īt .(ExecutionEnvironment.java:223)Īt .(JREContainerInitializer.java:176)Īt .(JREContainerInitializer.java:143)Īt .(JREContainerInitializer.java:60)Īt .(JavaModelManager.java:2939)Īt .(JavaModelManager.java:1970)Īt .JavaCore.getClasspathContainer(JavaCore.java:3424)Īt .(JavaProject.java:2693)Īt .(JavaProject.java:2857)Īt .(JavaProject.java:1962)Īt .(ExternalFoldersManager.java:393)Īt .(DeltaProcessor.java:1996)Īt .(DeltaProcessingState.java:477)Īt .events.NotificationManager$1.run(NotificationManager.java:299)Īt .n(SafeRunner.java:42)Īt .(NotificationManager.java:289)Īt .(NotificationManager.java:273)Īt .(Workspace.java:369)Īt .(Resource.java:1593)Īt .(RefreshJob.java:163)Īt .(InternalWorkspaceJob.java:39) !MESSAGE An internal error occurred during: "Initialize Workspace".Īt .(JavaLanguageServerPlugin.java:98)Īt .createProject(ProjectsManager.java:66)Īt .$1.run(InitHandler.java:89)Īt .(Worker.java:55) !MESSAGE The workspace exited with unsaved changes in the previous session refreshing workspace to recover changes. I installed the same-version vscode and extension to another machine whose system is Windows 10, and the extension can work as expected. (Optional) Check the popup message and output logs.
Search and install this extension: Language Support for Java(TM) by Red Hat.JDK version: 1.8.0_40 (Setting JAVA_HOME environment variable only).11:24:27 AM The workspace exited with unsaved changes in the previous session refreshing workspace to recover changes.
11:24:26 AM The workspace exited with unsaved changes in the previous session refreshing workspace to recover changes. 11:24:24 AM The workspace exited with unsaved changes in the previous session refreshing workspace to recover changes. I found some logs in the output, hope it can help: This extension cannot start successfully and popup this error message.