Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to get rid of Compute Launch Button Tooltip error in Eclipse

Tags:

eclipse

This error started coming this morning and it's driving me crazy
It didn't actually start suddenly, I had imported a few projects which did not compile, after which this started happening, but I cannot remember exactly all the things that I did to make it start

When I bring the cursor above the green compile button, an error message appears that says Compute Launch Button Tooltip error and some vague description which just says that there was an error in evaluating the Launch button tooltip. the error message is blocking so I cannot click anywhere on eclipse interface until I click OK on the message. Nothing else happens, but I'm not able to compile and run anything either, since this error appears as soon as the cursor hovers over the green run button (or the debug as well, I think). If I right click on the project icon in the project explorer, bringing the cursor over the run option does not bring up the submenu either

--- EDIT ---
enter image description here


If I restart the computer and do it again, it works. However if I close Eclipse again and restart it (Eclipse that is), the problem appears again, until I restart the computer.

How do I stop this error from happening?

--- EDIT 2 ---

I moved the .launch files as pointed out in the answer to a backup location. I hadn't included this information before, but when I start up Eclipse this message appears as well, when Eclipse is loading and the splash screen is visible:
enter image description here

Even after I moved the .launch files to a backup location, after eclipse starts up, I still get the Compute Launch Button Tooltip error when I hover over the green compile button. What can I do now?

--- EDIT 3 ---
After the above messages, if i close eclipse IDE and then start it up again (without restarting my computer), I get the following error:
enter image description here
After this the IDE doesn't even start up. The log file it mentions is too big and I don't know what to look for inside it.

--- EDIT 4 ---
Further experiment

I deleted the .metadata folder and restarted Eclipse in the same workspace. Now eclipse seems to treat it as a new workspace and does not even show the project folder that is there, in it's project tree. So I go to file > import > import existing project into workspace, and import the same project folder that is in the workspace back using Eclipse, and do not check the Copy project to workspace check box. This seems to make it work, but if I close Eclipse, and try to start it again, then I get the error message in EDIT 3nd Eclipse does not start up. What could have gone wrong here?

like image 923
user13267 Avatar asked Oct 14 '13 11:10

user13267


3 Answers

This sounds like you have a corrupt .launch config file somewhere in your workspace.

You can find these files in workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/ or in your projects if you select "Shared File" in the last tab of the launch config.

It should be enough to delete (or move) all the "*.launch" files to make Eclipse work again.

like image 96
Aaron Digulla Avatar answered Nov 10 '22 16:11

Aaron Digulla


sudo apt-get --reinstall install tzdata-java
like image 30
18446744073709551615 Avatar answered Nov 10 '22 16:11

18446744073709551615


Added "-Dcom.ibm.icu.util.TimeZone.DefaultTimeZoneType=ICU" to eclipse.ini file and this solved my problem.

like image 1
Syamala Avatar answered Nov 10 '22 17:11

Syamala