App can't be opened because it is from an unidentified developer

前端 未结 15 2591
谎友^
谎友^ 2020-12-02 05:39

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 workar

相关标签:
15条回答
  • 2020-12-02 05:39

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

    0 讨论(0)
  • 2020-12-02 05:40

    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 讨论(0)
  • 2020-12-02 05:46

    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.

    0 讨论(0)
  • 2020-12-02 05:47

    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.

    0 讨论(0)
  • 2020-12-02 05:47

    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 讨论(0)
  • 2020-12-02 05:47

    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.

    0 讨论(0)
提交回复
热议问题