Accepted answer

source : renaming a workspace?

yes, you can just rename the workspace directory and/or move it. however, you then have to tell eclipse where the new workspace is. in 3.1, you can use 'switch workspace' to launch in a different location (under the file menu).

if you want to change it by hand, you can edit the appropriate entries in the files in the 'configuration' directory where eclipse is stored.
you can change the org.eclipse.ui.ide.prefs file to set show_workspace_selection_dialog=true if you want to be asked each time eclipse is run where the workspace is.


2021 update

in eclipse 2020-12 (windows 10), the "workspace name (shown in window title)" preference mentioned in one answer is no longer there. now, renaming a workspace (ws) requires a copy and delete operation.

start by switch to another ws: file --> switch workspace --> select existing ws. then rename the ws folder to desired new name. switch to the new workspace folder and delete the old name:

  1. file --> switch workspace --> other...
  2. right-click old ws name --> remove from launcher selection
  3. click browse --> select new workspace folder --> click launch and voila!

as mentioned in prior posts, depending on your setup some resource links may be broken. delete the project without(!) removing it from disk, then import to new ws.


i just did a:

file --> import --> maven --> existing maven projects --> mention the new workspace location in "root directory" in the "import maven projects" window

and it worked! all projects were imported properly.

btw, i have eclipse-maven plugin "m2e" installed (


copying workspace to a new folder works. any reference eclipse itself needs is resolved using the relative workspace location. if you have added launchers, substitution variables, etc. that rely on the absolute workspace location, they will need to be reset.


john, i think in the original workspace you imported projects and that the projects depend on links not on being physically in the same location of the worspace (even thay are there already but the dependency is on links). if so you have to remove the projects from the new (copied) worspace and then re-import them again.


renaming workspace folder worked for me. close the eclipse, rename the workspace folder name, launch eclipse again. if you are using any project dependencies like user libraries,launchers etc, you have to relocate those to new location manually, from project build path.


for simple renaming, it is not necessary to switch workspaces, unless the workspace you want to rename is not the one currently active.

anyway, you can rename the current open workspace by choosing eclipse->preferences->general->workspace and changing the option "workspace name (shown in window title)" from the default's workspace folder name to whatever you want to call it. then, restart eclipse.

suppose your workspace's folder is "/foo/bar/workspace" and you never changed its name before; its name was then the default "workspace". after you renamed it to, say, "my_workspace" and restarted eclipse, the eclipse's window title should show: "my_workspace - (some stuff that varies) - /foo/bar/workspace".

note that this is not going to modify the workspace folder's name. you may have to create a new folder with the desired name, switch to that folder (whose workspace will have the same name, by default) and import existing projects into it, as some have suggested here.

Related Query

More Query from same tag