Skip to content

Instantly share code, notes, and snippets.

@kanwei
Created November 23, 2021 23:54
Show Gist options
  • Save kanwei/d91c630fd95e3601a1718af2f2f4a34e to your computer and use it in GitHub Desktop.
Save kanwei/d91c630fd95e3601a1718af2f2f4a34e to your computer and use it in GitHub Desktop.
Running elasticsearch-full homebrew natively on Apple M1 Silicon
Edit /opt/homebrew/Cellar/elasticsearch-full/7.15.2/homebrew.mxcl.elasticsearch-full.plist
Make this change, with the proper JDK location:
<key>EnvironmentVariables</key>
<dict>
<key>ES_JAVA_HOME</key>
<string>/opt/homebrew/Cellar/openjdk/17.0.1/libexec/openjdk.jdk/Contents/Home</string>
</dict>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment