5

In my Eclipse:

Windows -> Preferences -> General -> Startup and Shutdown -> Workspaces:

And the "Prompt for workspace on startup" is checked, but anytime I start Eclipse, it does NOT ask for workspace to open.

Why is that? Please help me! Thank you!

victorio
  • 6,224
  • 24
  • 77
  • 113
  • Check this out: http://stackoverflow.com/questions/7058782/how-to-force-eclipse-to-ask-for-default-workspace?rq=1 – alterfox Oct 11 '13 at 08:10
  • Possible duplicate of http://stackoverflow.com/questions/7058782/how-to-force-eclipse-to-ask-for-default-workspace? – E.Z. Oct 11 '13 at 08:10
  • yes, someone write this: "It works for me if I tick the box 'Prompt for workspace on startup', which you find in Window > Preferences > General > Startup and Shutdown > Workspaces." but it doesn't work for me – victorio Oct 11 '13 at 08:14

2 Answers2

11

Try starting Eclipse with eclipse.exe -clean. You can also manually edit Eclipse files, but better use the supported run argument. As I already commented - this is suggested here, but you seem to have skipped it and went straight for the second answer :-)

Community
  • 1
  • 1
alterfox
  • 1,675
  • 3
  • 22
  • 37
  • Oh thanks! Yeh, I skipped it, because I thought the setting up in preferences should be enough :-) thank you! – victorio Oct 11 '13 at 08:38
  • Notably the documentation about the `osgi.clean` (i.e. `-clean`) switch is not pointing that out: _if set to "true", any cached data used by the OSGi framework and eclipse runtime will be wiped clean. This will clean the caches used to store bundle dependency resolution and eclipse extension registry data. Using this option will force eclipse to reinitialize these caches._ – Andreas Mar 17 '14 at 12:38
1

1/ Check the value of -startup in eclipse.ini. IF - startup you find

-startup plugins/org.eclipse.equinox.launcherXXXXXX.jar

it's OK

if you find other values comment them

2/ you go to ( in eclipse ): preferences > General > Startup and Shutdown > workspaces and then you check ( prompt for workspace on startup )

3/ you run you eclipse with eclipse.exe -clean