Created
November 23, 2021 23:54
-
-
Save kanwei/d91c630fd95e3601a1718af2f2f4a34e to your computer and use it in GitHub Desktop.
Running elasticsearch-full homebrew natively on Apple M1 Silicon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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