Incomplete jdk.app in the installation package|Unable to start Elasticsearch|macOS x86_64 | elasticsearch-8.13.2

  1. Downloaded the installation package, elasticsearch-8.13.2, several times, but the system indicates that jdk.app is incomplete.

  2. Privacy and security settings are configured to allow open.

  3. Unable to start Elasticsearch.

Thanks!

Hi @Joanna_Chang - Welcome to our Discuss forum! :slightly_smiling_face:

I had the same problem. Despite allowing jdk.app in the Privacy&Security settings, I was still getting the same error.

I managed to "fix" this by running attr -d com.apple.quarantine jdk.app in the unzipped Elasticsearch folder where the jdk.app is. I am not sure how this got marked as quarantined in the first place, but that did the trick for me. Hopefully this works for you as well.

It is actually something related to macOS Gatekeeper and Apple’s rollout of stricter notarization requirements. It is documented in our Kibana documentation (c.f
Install Kibana from archive on Linux or macOS | Kibana Guide [8.13] | Elastic ) but not in the Elasticsearch documentation. I will open an Elasticsearch issue to get that documented.