javaeclipse

Eclipse opens and then immediately closes after graphic appears


When windows installed updates, it closed my eclipse and corrupted the workspace or something. When I try to start eclipse I get the error:

I have already tried most of the google solutions. I tried deleting the plugins folder, and it still does the same thing. I tried adding the --clean option to the eclipse launcher, and it still crashes. If I delete the org.eclipse.e4.workbench folder, it still does the same behavior. When I try to start eclipse it shows the launcher logo for about a quarter second, and none of the above solutions fixed my problem.

Any other ideas?

Thanks,

 The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

!ENTRY org.eclipse.mylyn.tasks.core 2 0 2015-08-24 08:54:58.371
!MESSAGE Failed to load tasks.xml.zip, restoring from snapshot
!STACK 1
org.eclipse.core.runtime.CoreException: Failed to load Task List

Solution

  • Step 1: Open Command Prompt as Administrator

    Step 2: Change Your Directory to eclipse folder

    Run

    Step 3: eclipse -clean -clearPersistedState

    Done!