2

My computer suddenly shut down due to power failure, while I was working on an Android project using my Eclipse Indigo IDE.

Now, if I start Eclipse, only an empty message dialog (see screen shot) appears and Eclipse does not start. What can I do?

(I am using Ubuntu 12.04 LTS)

enter image description here

DUKE
  • 3,368

2 Answers2

1

To find out the problem, check the logs folder in the active workspace It is present in [workspace_folder]/.metadata/.log file and post error.

You can clean your workspace and to fix any corrupted configuration file related with workspace. Run the following command from terminal

eclipse -clean

Chakra
  • 3,472
  • Where is actually the .metadata folder located in the Ubuntu file system? – DUKE Jul 09 '12 at 16:42
  • 1
    In your Eclipse workspace, it is a hidden folder, you can see it with command ls -a or through Nautilus (View Hidden Files option Ctlr + H – Chakra Jul 09 '12 at 18:08
  • Log message complaining a particular file is not found, but the specified file is there. – DUKE Jul 10 '12 at 01:05
  • 1
    @DUKE Is the problem still existing after eclipse -clean, is the problem still persisting? Can you try starting eclipse with a new workspace? – Chakra Jul 10 '12 at 04:58
  • Yes, I am able to start Eclipse with new workspace. Thanks. – DUKE Jul 10 '12 at 12:01
0

You can solve it by reinstall Eclipse :

sudo apt-get install --reinstall -f -m -u eclipse

Perhaps first you need backup your projects/configs.

swift
  • 3,281
  • 2
  • 23
  • 46