i had the same problem with indigo on linux 3.0 x86_64:
eclipse -clean everything went back to normal.
thanks to some comment on the eclipse issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=134412
go to window → preferences → general → startup and shutdown → workspaces (or eclipse → preferences → ... on macos)
check the checkbox prompt for workspace on startup
then at startup eclipse will ask for workspace selection.
i had the same problem on my eclipse, and calling
eclipse -clean did not solve the problem.
in the end i figured out that within the installation folder of eclipse there is a script called
eclipse. this script does some setting of environment variables and then calls
eclipse.bin. the call for
eclipse.bin contained the this command-line switch:
when i removed that switch from start-up script, i got the workspace selection as expected.
config.ini file with
worked for me.
i first tried the
-clean option, but that didn't solve the problem. then i added the
-data option with the correct path to the workspace, which worked.
i resolved the problem by adding the
-showlocation flag to
sometimes you need to pay attention to howw eclipse is launched. i ever pinned eclipse by rigk-click on the excutable and pinning it to taskbar. in this way, the eclipse is launched to use settings under c:\user\public\public documents\eclipse" which is not very desirable.
however, if you pin it by creating a short-cut, then it will launch to use settings in the folder of eclipse installation. then everything makes much more sense.
if your eclipse is auto-closing at startup you can
- open the properties of your shortcut and add
-cleanat the end of the path,
- or, in a command prompt, run
c:\path_to_your_eclipse\eclipse -cleanlike mentioned in the comments and other answers
i'd recommend you to create a shortcut to eclipse.exe with the
-data command line option. this way you can create a separate shortcut to each workspace you use, and avoid unnecessary dialogs and mouse clicks.
windows: just create an eclipse shortcut on your desktop, then right-click to open
properties and under
shortcut set something like this as
c:\eclipse\eclipse.exe -data c:\path\to\your\workspace1. this will launch eclipse and automatically open
repeat the steps for all the workspaces you use often.
i can confirm that i am having the same issue. i am also using eclipse classic with cdt. the funny thing is that it only started happening earlier this evening. before then, i was always prompted for the workspace. checking prompt for workspace on startup has no effect. i am not launching eclipse using a startup script, so the
-data flag is not set on launch. i have removed the line
osgi.instance.area.default from the
configuration/config.ini file, but that had no effect.
a few strange quirks that are incidental to this problem: if i delete the
workspace workspace it creates it again upon launch. however, when i switch to one of my "real" workspaces i notice that the
workspace workspace is not listed as an option to be switched to.
as would be expected, reinstalling eclipse resolves the issue. but it would be nicer to find a way to fix the problem without resorting to that.
under aptana 3.2.2, in
it will check the recent workspace, so just set it to what you want. i do it for running off an external drive.
i followed the thread and tired all things but didn't work. finally i saw that my eclipse shortcut target is like below
c:\eclipse_3.6\eclipse\eclipse.exe -clean -data "c:\workplace" ...
i simply removed -data option and it worked. now i got popup to choose workspace at startup.
starting eclipse with
eclipse -clean did wonders for me.
i had the same issue (in eclipse juno), but i just wanted to change the default workspace to the one i'm using
there's a setting in
eclipse_directory/configuration/config.ini that is causing a specific workspace to be loaded without prompting for a workspace. if you just want to change the default workspace, you can just modify the value or add it if it doesn't exist:
the “prompt for workspace at startup” checkbox did not working. you can setting default workspace, look for the folder named “configuration” in the eclipse installation directory, and open up the “config.ini” file. you’ll edit the "osgi.instance.area.default" to supply your desired default workspace.
version: eclipse cindigo service release 2
- file > switch workspace > other...
- in the textbox, write the path in the workspace or browse
it automatically sets the default workspace during exit.
using eclipse indigo this is how i did it:
window → preferences → startup and shutdown → workspaces
check the box at the top of the window that says "prompt for workspace on startup"
configuration/.settings folder of your eclipse installation, there is a file called
org.eclipse.ui.ide.prefs. open this file in a text editor and change the property
tested with eclipse 3.7 on windows.
it works for me if i tick the box prompt for workspace on startup, which you can find in window → preferences → general → startup and shutdown → workspaces.
- How to force Eclipse to ask for default workspace?
- How to change default JRE for all Eclipse workspaces?
- How can I set Chrome as default external browser in Eclipse for Mac?
- How can I set the default code formatting and template for a new workspace
- How to disable "No Default Proposals" in eclipse content assist for PHP?
- Why does NOT my Eclipse ask for workspace on startup?
- How do you add a PHP framework to code completion/assist in Eclipse PDT and can the framework be added as default for all projects?
- Default workspace settings for customized Eclipse distribution
- How to make Maven use Eclipse workspace default JRE?
- How to set multiple default source folders in Eclipse IDE for Java?
- How do I get the file path of the open workspace for developing plugins in eclipse
- How do I set a default toolchain in Eclipse C++ / CPP for new projects?
- Android Eclipse > Graphical Layout: How to Set Default Layout = Nexus 7 or Not 2 for every XML layout I open to look same in IDE and Device
- How to setup the project & workspace for building Androlate; an Eclipse Plugin
- How To Use A Relative Path For The Eclipse Workspace
- How to I edit the default "formatter profile" in eclipse neon? (wanting to use spaces instead of tabs for all code types)
- how to set default permissions for local files newly checked out of subversion via eclipse
- Eclipse how to select needed file for debug if one source file mentions from two projects within workspace
- How do I "install dependencies" in Eclipse "using File > Import > Install Software Items from File" to setup a bootstrap workspace for Mylyn?
- How to make default indentation for parenthesis the same as for braces in Eclipse in Java?
- How to create RCP project without a workspace and other Eclipse default features?
- How to create default template for js, css files in eclipse
- how to change the foreground color of the default Matching item for Eclipse in dark theme?
- How to set default encoding and line delimiter in eclipse down to the workspace catalogues tree to UTF-8 and Unix automatically?
- how to create a different workspace in eclipse for different users?
- Why ANT does not peak up Eclipse workspace default JRE for build
- How can I change default settings in Eclipse for CSS and HTML
- How to turn off the Eclipse code formatter for certain sections of Java code?
- How to change font size in Eclipse for Java text editors?
- How to install plugin for Eclipse from .zip
More Query from same tag
- How do I begin using an Eclipse plug-in after downloading it from the Eclipse marketplace?
- Remote debugging in eclipse in multithreaded environment
- How do you manage your Eclipse installation?
- Export custom android eclipse project to maven build type
- Exception Could not resolve placeholder
- ColdFusion debugging problem in Eclipse (Break points not hit)
- Errors running builder 'CDT Builder' on project 'proj1' (eclipse CDT)
- Eclipse display all items from SQLite DB
- The application is installed but not running or visible on virtual device
- use httpclient4.0.3.jar in eclipse but import error
- How to highlight (or select) a file (or folder) programmatically in Linux environment (using java)
- How do I add a new library to android dependencies using eclipse adt?
- (Eclipse - OS X) How do you copy from javadoc popups?
- How to deployee cheatsheet in eclipse
- Setting Bin Path for Qt in Eclipse
- Execution fails via java -jar while the same code runs fine through eclipse
- C++ Remote development IDE supporting shell scripts
- why can't my EAR project see the annotated EJBs and Entities in my JPA project?
- I'm using eclipse extension newWizard, how to set wizard dialog size in java?
- Aapt error -1073741816
- Why is my 3n+1 solution not working?
- Java Maven project cannot find dependency
- Setting up Jetty in Eclipse
- Why isn't Ant exec not using my path?
- Locating default root folder for an Eclipse project
- Can't run TestNG Test Suite in a maven project
- Install node.js modules in eclipse
- Null annotation processor in Eclipse
- Set up method for sending messages
- In eclipse, "c:\ \", "c:", what is the difference between the two c disk representations?