# Incomplete jdk.app in the installation package｜Unable to start Elasticsearch｜macOS x86\_64 | elasticsearch-8.13.2

**URL:** <https://discuss.elastic.co/t/incomplete-jdk-app-in-the-installation-package-unable-to-start-elasticsearch-macos-x86-64-elasticsearch-8-13-2/357275>\
**Category:** Elasticsearch\
**Created:** [April 12, 2024, 10:57am UTC](https://discuss.elastic.co/t/incomplete-jdk-app-in-the-installation-package-unable-to-start-elasticsearch-macos-x86-64-elasticsearch-8-13-2/357275 "2024-04-12T10:57:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joanna\_Chang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joanna_chang/32/133466_2.png) [@Joanna\_Chang](https://discuss.elastic.co/u/Joanna_Chang)\
**Post date:** [April 12, 2024, 10:57am UTC](https://discuss.elastic.co/t/incomplete-jdk-app-in-the-installation-package-unable-to-start-elasticsearch-macos-x86-64-elasticsearch-8-13-2/357275/1 "2024-04-12T10:57:09Z")

</div>

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!

 ![截屏2024-04-12 17.56.59](https://us1.discourse-cdn.com/elastic/original/3X/c/2/c2fd3ff4ba30d776d8996757d4e3ccfb30777630.jpeg)

---

<div class="post-metadata">

**Author:** ![ropc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ropc/32/47022_2.png) [@ropc](https://discuss.elastic.co/u/ropc)\
**Post date:** [April 22, 2024, 9:47am UTC](https://discuss.elastic.co/t/incomplete-jdk-app-in-the-installation-package-unable-to-start-elasticsearch-macos-x86-64-elasticsearch-8-13-2/357275/2 "2024-04-22T09:47:52Z")

</div>

Hi @Joanna_Chang - Welcome to our Discuss forum! 🙂

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 `xattr -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.

---

<div class="post-metadata">

**Author:** ![ropc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ropc/32/47022_2.png) [@ropc](https://discuss.elastic.co/u/ropc)\
**Post date:** [April 23, 2024, 8:02am UTC](https://discuss.elastic.co/t/incomplete-jdk-app-in-the-installation-package-unable-to-start-elasticsearch-macos-x86-64-elasticsearch-8-13-2/357275/3 "2024-04-23T08:02:09Z")

</div>

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](https://www.elastic.co/guide/en/kibana/current/targz.html#install-darwin64) ) but not in the Elasticsearch documentation. I will open an Elasticsearch issue to get that documented.

---

<div class="post-metadata">

**Author:** ![ninoslavmiskovic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ninoslavmiskovic/32/113140_2.png) [@ninoslavmiskovic](https://discuss.elastic.co/u/ninoslavmiskovic)\
**Post date:** [June 7, 2024, 8:56pm UTC](https://discuss.elastic.co/t/incomplete-jdk-app-in-the-installation-package-unable-to-start-elasticsearch-macos-x86-64-elasticsearch-8-13-2/357275/4 "2024-06-07T20:56:44Z")

</div>

> [@ropc](#):
>
> attr -d com.apple.quarantine jdk.app

@ropc You had a typo in your command. 🙂 It drove me crazy.

it is :

`xattr -d com.apple.quarantine jdk.app`

And do you have the GH issue?

---

<div class="post-metadata">

**Author:** ![ropc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ropc/32/47022_2.png) [@ropc](https://discuss.elastic.co/u/ropc)\
**Post date:** [June 7, 2024, 10:19pm UTC](https://discuss.elastic.co/t/incomplete-jdk-app-in-the-installation-package-unable-to-start-elasticsearch-macos-x86-64-elasticsearch-8-13-2/357275/5 "2024-06-07T22:19:10Z")

</div>

Hi @ninoslavmiskovic 😃

> @ropc You had a typo in your command. 🙂 It drove me crazy.

My apologies 🙈 - there was a typo indeed (I edited the comment).

> And do you have the GH issue?

This is the Github issue: [Add macOS Gatekeeper warnings in the installation steps for macOS · Issue #107748 · elastic/elasticsearch · GitHub](https://github.com/elastic/elasticsearch/issues/107748)
