“Eclipse” is damaged and can’t be opened.

Yesterday I downloaded the latest Eclipse named Kepler to my Mac. I unzipped the package as usual and tried to launch it by clicking on the Eclipse file. I received the following error message:


After a quick search on the internet I found the solution in a bug report at Eclipse Bugs . It is the OS X GateKeeper that thinks that the file is corrupt and should be moved to trash. However, the problem is easy the solve. Just follow the following steps.

  1. Open up a shell
  2. Cd yourself into the eclipse directory.
  3. Check the attributes of the directory Eclipse.app/
    $ xattr Eclipse.app/
  4. Remove the ‘com.apple.quarantine’ attribute.
    $ xattr -d com.apple.quarantine Eclipse.app/

Now you should be able to launch Eclipse.

Happy coding