Skip to content

Commit

Permalink
Add JAVA_HOME env override location to docs (#49565)
Browse files Browse the repository at this point in the history
This commit clarifies how to override JAVA_HOME from the bundled jdk for
deb and rpm installs, which each have their own file that is sourced
upon service startup.

closes #49068
  • Loading branch information
rjernst committed Nov 27, 2019
1 parent 9e8330a commit 8460487
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/reference/setup/install/deb.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ locations for a Debian-based system:

| jdk
| The bundled Java Development Kit used to run Elasticsearch. Can
be overriden by setting the `JAVA_HOME` environment variable.
be overriden by setting the `JAVA_HOME` environment variable
in `/etc/default/elasticsearch`.
| /usr/share/elasticsearch/jdk
d|

Expand Down
3 changes: 2 additions & 1 deletion docs/reference/setup/install/rpm.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ locations for an RPM-based system:

| jdk
| The bundled Java Development Kit used to run Elasticsearch. Can
be overriden by setting the `JAVA_HOME` environment variable.
be overriden by setting the `JAVA_HOME` environment variable
in `/etc/sysconfig/elasticsearch`.
| /usr/share/elasticsearch/jdk
d|

Expand Down

0 comments on commit 8460487

Please sign in to comment.