Make Eclipse launch from a specified workspace

I couldn’t seem to make eclipse launch from the workspace I was using. No matter how I tried setting the defaults, it simply would not load from the last workspace used, and kept reverting to the default workspace (which was empty).

Rather than using Switch Workspace all the time (which is a pain, because it restarts Eclipse each time), it’s quicker just to change the configuration file.

This file is called config.ini and you can find it in the configuration directory of your Eclipse installation:


Change the default value of this row to the path of your workspace.

Alternatively, you can run Eclipse from the command line using the -data tag, which lets you manually choose the desired workspaces.

eclipse -data C:\Workspace