Fix elastic search not working in macOS 13 Ventura

Fix elastic search not working in macOS 13 Ventura

any one got this error after upgrade to macOS Ventura.
“jdk is damaged and can’t be opened. You should move it to the Trash.”here is a quick fix. Until Elastic search company makes an updatein terminal install the latest version of openjdk with Homebrew

brew install openjdk 
echo 'export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc

if you still using old bash terminal change this to

echo 'export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile

in terminal

nano /opt/homebrew/Cellar/elasticsearch-full/7.17.4/homebrew.mxcl.elasticsearch-full.plist

add the following lines:


Right after this line:


Then restart elastic search or start it right away.

brew services start elastic/tap/elasticsearch-full


brew services restart elastic/tap/elasticsearch-full

Test if elastic search is working.

curl http://localhost:9200

You should get something like this

  "name" : "Mohameds-MacBook-Pro",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "",
  "version" : {
    "number" : "7.17.4",
    "build_flavor" : "default",
    "build_type" : "tar",
    "build_hash" : "",
    "build_date" : "",
    "build_snapshot" : false,
    "lucene_version" : "8.11.1",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  "tagline" : "You Know, for Search"

Add a comment if you need any help!

Have a great day!

Share this post

تعليقات (2)

  • zekeriya hacimuhammed Reply

    I have added these configs but didnt work
    yes this alet message to delete apk file gone but but still showing another notification something is wronge

    23 ديسمبر، 2022 at 8:47 م
    • mohamed Reply

      What version of OS you are wokring at?

      Did you install openjdk

      also what version of Elastic search you use?

      you need to install the latest version of elastic search

      I have uploaded my configuration file i use for you

      You can download it from here:

      28 ديسمبر، 2022 at 1:43 م

اترك تعليقاً

لن يتم نشر عنوان بريدك الإلكتروني. الحقول الإلزامية مشار إليها بـ *

Enter Captcha Here :

    السلة فارغةالعودة للمتجر