Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

up vote 1 down vote accepted

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

share|improve this answer
    
Where is actually the .metadata folder located in the Ubuntu file system? –  DUKE Jul 9 '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 9 '12 at 18:08
    
Log message complaining a particular file is not found, but the specified file is there. –  DUKE Jul 10 '12 at 1: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 4:58
    
Yes, I am able to start Eclipse with new workspace. Thanks. –  DUKE Jul 10 '12 at 12:01

You can solve it by reinstall Eclipse :

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

Perhaps first you need backup your projects/configs.

share|improve this answer
    
OK, how can I perform a complete uninstall? (I think deleting the eclipse folder not enough) –  DUKE Jul 9 '12 at 14:21
    
I think it: sudo apt-get purge eclipse –  swift Jul 9 '12 at 14:40
    
But I count it better: sudo apt-get install --reinstall -f -m -u eclipse –  swift Jul 9 '12 at 14:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.