Managing the Eclipse workspace

If you install Eclipse on your own computer, and you see an error that looks like this…

… you need to edit your Eclipse config file. Here's how:

  1. Quit the Eclipse app.
  2. In Terminal, open the hidden config directory:
    • open /Applications/Eclipse.app/Contents/Eclipse/configuration/
    • [if your Eclipse.app isn't in /Applications/, adjust the path as needed]
  3. Open config.ini with the text editor of your choice
  4. Add the following line to the end of the config.ini file:
    • set osgi.locking=none
  5. Save changes to config.ini and close the file. Eclipse should now launch properly.
  6. If you are going to use Eclipse only on your own computer, you can put the workspace directory wherever you want.
  7. If you are going to work on Eclipse projects on the lab Macs and your own computer, set your workspace to the appropriate directory on athena. This will help you keep track of your work and avoid trashing files unintentionally, but it does mean you need to connect your computer to athena before launching Eclipse.