preload
Aug 17

I have experienced that Eclipse hangs when I am trying to start it. I have figured out that this is due to a problem with my workspace. If you have the same issue you can try the following.

First open your task manager –> right click the javaw.exe process –> chose to end process tree (this will end all java processes running on your computer).

Then go to your Eclipse folder –> configuration\.settings and delete the org.eclipse.ui.ide.prefs file. Restart Eclipse and try opening your workspace again. This does the trick for me :) Beaware that deleting this file results in resetting your workspace history so when starting Eclipse you need to manually browse to your workspace location.

I have only experienced this issue when I am running Eclipse in my Windows XP image with a third party plug-in for Eclipse.

Follow me on twitter @PerOla

Share & enjoy
You can subscribe to my comments feed to keep track of new comments.

7 Comments to “How to reset workspace in Eclipse”

  1. Anchit says:

    that helped thanks!!!!

  2. Anchit,
    I’m glad that helped you. I remembered that this issue sat me back a few hours…

  3. I just want to complement this article. if you want only reset your default workspace in Eclipse you can simply open the file with a whatever text edit:

    eclipse\configuration\.settings\org.eclipse.ui.ide.prefs

    its content should be akin to:

    RECENT_WORKSPACES_PROTOCOL=3
    MAX_RECENT_WORKSPACES=5
    SHOW_WORKSPACE_SELECTION_DIALOG=false
    eclipse.preferences.version=1
    RECENT_WORKSPACES=C\:\\DEV\\Workspaces\\HBWebAdmin\nC\:\\DEV\\Workspaces\\WS_WEB\nC\:\\DEV\\Workspaces\\WB_OPEN_API\nC\:\\DEV\\Workspaces\\WS_ADMIN\nC\:\\DEV\\Workspaces\\WS_FLASH

    So… What you have to do is just change the property SHOW_WORKSPACE_SELECTION_DIALOG from false to true, as shown below:

    RECENT_WORKSPACES_PROTOCOL=3
    MAX_RECENT_WORKSPACES=5
    SHOW_WORKSPACE_SELECTION_DIALOG=true
    eclipse.preferences.version=1
    RECENT_WORKSPACES=C\:\\DEV\\Workspaces\\HBWebAdmin\nC\:\\DEV\\Workspaces\\WS_WEB\nC\:\\DEV\\Workspaces\\WB_OPEN_API\nC\:\\DEV\\Workspaces\\WS_ADMIN\nC\:\\DEV\\Workspaces\\WS_FLASH

    Kindly Regards

    Paulo Miguel Almeida

  4. Hi Paulo,

    Thank you for the complementary information! That works great if you only want to reset your default workspace and not all of them like my article explained.

  5. Kuhandoss says:

    Thank You Buddy…

  6. Martín says:

    Lot of thanks!!. It worked perfectly !!

  7. amitabh says:

    Thanks

1 Pingback to “How to reset workspace in Eclipse”

  1. [...] View original here:  How to reset workspace in Eclipse [...]

Leave a Reply

Subscribe to my comments feed

Subscribe to my feeds Follow me on Twitter
DZone MVB