Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does NOT my Eclipse ask for workspace on startup?

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!

like image 494
victorio Avatar asked Oct 11 '13 08:10

victorio


People also ask

How do I fix the workspace error in Eclipse?

From eclipse.org, select Projects > Eclipse Project > Platform > Core, and then look for the workspace restorer plug-in on the development resources page. Be sure to also enter a bug report in the Eclipse Bugzilla with any available log information to help prevent such disasters from happening to others!

Why Eclipse workspace is not opening?

What I have found out is that it is because of some views open in the workspace, and they somehow might block the Eclipse startup. For example the Processor Expert 'Component Repository' view can cause this in Eclipse Neon (4.6) or Oxygen (4.7).

Where is the default Eclipse workspace?

By default project location is current workspace of eclipse. Step 1: Go to File -> New -> Other ->.


2 Answers

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 :-)

like image 142
alterfox Avatar answered Sep 28 '22 15:09

alterfox


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

like image 27
El mehdi AZROUR Avatar answered Sep 28 '22 14:09

El mehdi AZROUR