MacOS – Eclipse 4.2 on Mountain Lion: gatekeeper rejects as unidentified developer

gatekeepermacos

Just updated the mountain lion, and download the latest Eclipse 4.2 to upgrade the old one. However when opening the application, it shows that it is from an unidentified developer and the gatekeeper refuses to open it.

I know that there is an option to change the security and privacy option to allow it, however I want to know whether there is a way to just add eclipse into the list. Any hint on this?

More information: before updating I have the Eclipse 3.7.2 on machine, and after updating it works smoothly (I think I have added it into the allow list). So is there a way to do this to Eclipse 4.2?

Thanks in advance!

Best Answer

  1. disable Gatekeeper ("Allow applications downloaded from: Anywhere")
  2. run Eclipse once
  3. reset Gatekeeper to a more strict level ("Mac Store and identified developers".)

Doing this has allowed me to start Davmail, also a Java app, after Mountain Lion initially claimed the binary was corrupt ("App is damaged and can’t be opened" error message) even when back on the stricter level.

Another option, as mentioned in John Siracusa's excellent review, is to do the following from the Terminal:

% xattr -d com.apple.quarantine /path/to/Eclipse.app

I have not (yet) personally tested this but John's a solid source.