Where can I change the default workspace in Eclipse?
You can check the option that shows up when you start eclipse. Please see the figure below
eclipse\configuration\
"config.ini"
Modify the line
osgi.instance.area.default="F:/Workspace/Java"
where "F:/Workspace/Java"
should be your default workspace!
In Eclipse
, go to File
-> Switch Workspace
, choose or create a new workspace.
I took this question to mean how can you change the Default workspace so that when Eclipse boots up the workspace you want is automatically loaded:
Whatever Frank has suggested to change in config.ini is correct. In case, if that didn't help, you need to remove path from recent workspace as below.
eclipse\configuration\org.eclipse.ui.ide.prefs\
"org.eclipse.ui.ide.prefs"
Remove the first path in RECENT_WORKSPACES
.
MAX_RECENT_WORKSPACES=5
RECENT_WORKSPACES=/Users/wrokspace1\n/Users/wrokspace2\n/Users/wrokspace3\n/Users/wrokspace4
RECENT_WORKSPACES_PROTOCOL=3
SHOW_WORKSPACE_SELECTION_DIALOG=false
eclipse.preferences.version=1
If you want to change recent workspace manually
in a configuration
file
org.eclipse.ui.ide.prefs exists in
eclipse > configuration > .settings > org.eclipse.ui.ide.prefs
open this file in an editor find RECENT_WORKSPACES
in line #2
and in this line you can see recent workspaces and can change
or even remove
them.