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:

osgi.instance.area.default=C\:\\Workspace

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
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: