Where are projects stored in Eclipse?

Browse over to your workspace folder. You will see a folder for each project.

(Don't know where your workspace folder is? Try File -> Switch workspace... and it will give you the path.)


The projects can be found under the .metadata directory of your workspace:

[eclipse-workspace]/.metadata/.plugins/org.eclipse.core.resources/.projects

Each project contains a .location file (in binary format) which presumably tells eclipse where the project is located on the filesystem, if it has been imported.


By default projects in Eclipse are stored under your workspace. You get asked where your workspace is created or which one to open whenever you open Eclipse, but you can configure it to not ask you again.

If you configured Eclipse not to ask again, then you can go to General -> Startup and Shutdown -> Workspaces in your preferences and check "Prompt for workspace on startup".

That page also lists your recently used workspaces (with probably just 1 entry, if you never explicitly specified a different one).

Note that you can also create projects that are located outside of your workspace, by explicitly specifying a separate location per-project.


In Windows, usually C:\Users\%USERNAME%\workspace

Where %USERNAME% is the username given to your computer. eg. john

You can paste the above path in Run(Windows + R) window and it will pick the username automatically for you though.

Tags:

Eclipse