We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37162e3 commit 844c001Copy full SHA for 844c001
distribution/src/bin/elasticsearch-env
@@ -49,6 +49,9 @@ else
49
if [ "$(uname -s)" = "Darwin" ]; then
50
# macOS has a different structure
51
JAVA="$ES_HOME/jdk.app/Contents/Home/bin/java"
52
+ elif [ "$(uname -s)" = "FreeBSD" ]; then
53
+ LOCALBASE="$(sysctl -n user.localbase)"
54
+ JAVA="${LOCALBASE}/bin/java"
55
else
56
JAVA="$ES_HOME/jdk/bin/java"
57
fi
0 commit comments