251

I installed Mac OS X Mavericks (10.9) yesterday and since then I am not able to start my Eclipse. I am attaching a screenshot of the message I see.

Is there a workaround for this?

Enter image description here

I found a solution in Fix the “App can’t be opened because it is from an unidentified developer” Error in Mac OS X.

5
  • Related: Installing Java on OS X 10.9 (Mavericks) Commented Nov 3, 2013 at 18:39
  • Check this out for step by step instructions y2u.be/heUv6RtFtrI Commented Nov 9, 2013 at 6:09
  • 7
    This question appears to be off-topic because it is about Mac Applications and not programming. It would be better suited on apple.stackexchange.com Commented Dec 26, 2013 at 5:51
  • 5
    @Steve. Eclipse has nothing to do with programming? That's news to me. Installing the tools of the trade seem to me a viable question for Stack Overflow. I'm more concerned about the OP not selecting a correct answer (nudge, aghem, cough Chandan).
    – Andrew S
    Commented Apr 20, 2014 at 18:48
  • 1
    See the xattr alternative below for locked down security settings
    – Luke
    Commented Oct 16, 2014 at 14:41

18 Answers 18

370

It's because of the Security options.

Go to System Preferences... > Security & Privacy and there should be a button saying Open Anyway, under the General tab.

You can avoid doing this by changing the options under Allow apps downloaded from:, however I would recommend keeping it at the default Mac App Store and identified developers.

7
  • 2
    I don't think this is new in Mavericks. Commented Oct 23, 2013 at 20:18
  • @bamboon You are right; I must have lowered my security level ages ago and forgotten about it. I will update my answer.
    – trojanfoe
    Commented Oct 23, 2013 at 20:19
  • 2
    Actually, we can right click on Eclipse icon and choose Open without change Security Policy. Follow here: osxdaily.com/2012/07/27/…
    – KimKha
    Commented Oct 25, 2013 at 4:27
  • In 10.8.5, the option to select from the 'Allow applications downloaded from:' set of radio buttons is: 'Anywhere'
    – Mark Roper
    Commented Nov 11, 2013 at 16:36
  • The "Control-click/Open" method is much safer. This opens your system to any app from wherever. Do not surrender this much control!
    – mpemburn
    Commented Mar 18, 2015 at 12:43
123

An easier way to open a document from an unidentified developer, if you know it's safe, is to control-click on the file icon and then select "Open." You will then be given the option of opening it regardless of its unidentified source.

0
44

In terminal type the command:

xattr -d com.apple.quarantine [file path here]

Once you click enter it will no longer have that problem. Its annoying that apple adds a quarantine to files automatically. I do not know how to turn this off but there probably is a way...

3
  • Thank you! This solved a problem with two apps that would get blocked at startup (running macOS Sierra). One (AwakenHelper) was saying "the identity of the developer cannot be confirmed." The other was saying "Tonido.app is damaged and can't be opened."
    – Zade
    Commented Mar 14, 2017 at 8:03
  • 2
    This should be the accepted answer. I tried control-click from Finder etc. to no avail. But this worked.
    – Pierre D
    Commented Dec 19, 2023 at 2:10
  • Only way to execute HP Click on macOS Sonoma, thank's a lot !
    – deltonio2
    Commented Jul 11 at 14:28
33

Right-click (or control-click) the application in question and choose "Open"

0
20

You can also use the xattr command as in Stack Overflow question How do I remove the "extended attributes" on a file in Mac OS X?.

Just remove the com.apple.quarantine attribute. It works even if you don't have an administrator account, which can be a plus. After that, the app isn't considered "downloaded" and is therefore not blocked.

1
  • 1
    This works if you have locked down security preferences e.g. on an Enterprise Mac. cd /Applications/eclipse/ xattr -d com.apple.quarantine Eclipse.app
    – Luke
    Commented Oct 16, 2014 at 13:44
12

you can modify the gatekeeper settings by running the following command

To disable to allow apps from anywhere to be installed use the following command in terminal ::

sudo spctl --master-disable

To re-enable use the following command

sudo spctl --master-enable

0
8

It is prohibiting the opening of Eclipse app because it was not registered with Apple by an identified developer. This is a security feature, however, you can override the security setting and open the app by doing the following:

  1. Locate the Eclipse.app (eclipse/Eclipse.app) in Finder. (Make sure you use Finder so that you can perform the subsequent steps.)
  2. Press the Control key and then click the Eclipse.app icon.
  3. Choose Open from the shortcut menu.
  4. Click the Open button when the alert window appears.

The last step will add an exception for Eclipse to your security settings and now you will be able to open it without any warnings.

Note, these steps work for other *.app apps that may encounter the same issue.

5

I had the same problem, Eclipse would not start. Found this link and it worked like a charm:

Can't click Menu Bar Items in Eclipse

Java is messed-up on Maverick, need to download and install from here: http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US

4

Control Click the application in the Applications folder, not lauchpad. Choose open and then you get an options to actually open it.

4

Terminal type:

Last login: Thu Dec 20 08:28:43 on console
 ~  sudo spctl --master-disable
Password:
 ~  spctl --status
assessments disabled
 ~ 

System Preferences->Security & Privacy

enter image description here

4

I had got the same error. Because of security reasons, I could not see option for allowing Apps downloaded from Anywhere in System preference-> Security Tab.

I removed the extended attribute from Zip file by below command.

xattr -d com.apple.quarantine [Zip file path] 

And then got below error:- org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct

Resolved it by uninstalling all different versions of java and installed just 1.8.0_231.

Worked finally.

3

Right click > Open.

Or, you can go into System Preferences, Security & Privacy, and set the restrictions on opening apps there.

3

In your terminal, simply run

sudo spctl --master-disable

in order to allow apps be downloaded from any developer

1
  • This just repeats cryptonkid's answer from 2017, without the instruction for how to turn it back on again. Permanently disabling this security feature is obviously a risk many users will not be prepared to take.
    – tripleee
    Commented Dec 28, 2022 at 9:11
2

Open terminal, go to extracted folder of eclipse and run the following command:

./eclipse -clean
2

On MacOS Ventura 13.5, after running an app which is being blocked, it will show up in the Privacy & Security section in preferences, where you can press on 'Allow Anyway' to disable it.

MacOS System Preferences (Privacy & Security)

1
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review Commented Aug 5, 2023 at 13:35
0

Resolve this issue by Navigating to system settings -> Privacy & Security -> Allow (To the notification which was blocked). you can refer this https://youtube.com/shorts/HzxPpZHmpLk?si=U-OgKN8no7UjZbBo if steps are not clear.

-1

Open Terminal, Go to the eclipse folder, Run ./eclipse

-2

Try looking into Gatekeeper. I am not sure of too much Mac stuff, but I heard that you can enable it in there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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