Skip to content

Instantly share code, notes, and snippets.

@programgames
Last active February 5, 2021 11:17
Show Gist options
  • Save programgames/420c8573d934bd060f1c6e9a7ab96c95 to your computer and use it in GitHub Desktop.
Save programgames/420c8573d934bd060f1c6e9a7ab96c95 to your computer and use it in GitHub Desktop.
Set java home var for ES
go to /usr/local/Cellar/elasticsearch-full/7.10.1/libexec/bin/elasticsearch-env
add
JAVA_HOME=$(/usr/libexec/java_home -v11)
JAVA="$JAVA_HOME/bin/java"
JAVA_TYPE="JAVA_HOME"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment