How to change the default Eclipse startup workspace?

Open a command prompt. Change to the eclipse home directory and type "eclipse -clean" e.g. C:/eclipse>eclipse -clean

This will ask for the workspace selection. It will also force to set it as the default workspace.

Then, go to eclipsehome-->configuration-->settings folder.

open org.eclipse.ui.de.prefs in a notepad.

set this property to true from false.

SHOW_WORKSPACE_SELECTION_DIALOG=true

You will be asked for a workspace selection everytime.


In the path

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

Change the Order of workspace here

RECENT_WORKSPACES=F\:\\new workspace\nF\:\\worksapce

As all the other answers don’t seem to satisfy you I am wondering what it is that you really want. So I will add another option: use the command-line parameter “-data” to specify a location for the workspace. With this you can create several launchers/shortcuts that will open different workspaces.

$ eclipse -data $HOME/workspace/

  • Uncheck this and apply your changes-

    Windows Preferences->General->Start up and Shut down->Workspaces->Check Prompt For workspace on start up

  • Apply and OK

  • Close the eclipse.

  • Open eclipse

  • Give your new workspace path and choose it as default.

Tags:

Java

Eclipse