Clean up docs regarding recommended JVM (#41356)

This change clarifies the documentation around the recommended JVM. The
recommended JVM is the bundled JVM. If a user does not use our
recommended JVM we suggest that they use a supported LTS version of the
JVM.

Closes #41132
This commit is contained in:
Jay Modi 2019-04-18 14:17:16 -06:00 committed by jaymode
parent 5f497d4274
commit 1f5cd410b8
No known key found for this signature in database
GPG Key ID: D859847567B3493D
1 changed files with 5 additions and 6 deletions

View File

@ -25,16 +25,15 @@ platforms, but it is possible that it will work on other platforms too.
Elasticsearch is built using Java, and includes a bundled version of Elasticsearch is built using Java, and includes a bundled version of
http://openjdk.java.net[OpenJDK] from the JDK maintainers (GPLv2+CE) http://openjdk.java.net[OpenJDK] from the JDK maintainers (GPLv2+CE)
within each distribution. The bundled JVM exists within the `jdk` directory of within each distribution. The bundled JVM is the recommended JVM and
the Elasticsearch home directory. is located within the `jdk` directory of the Elasticsearch home directory.
To use your own version of Java, set the `JAVA_HOME` environment variable. To use your own version of Java, set the `JAVA_HOME` environment variable.
When using your own version, the bundled JVM directory may be removed. If you must use a version of Java that is different from the bundled JVM,
If not using the bundled JVM, we recommend installing Java version we recommend using a link:/support/matrix[supported]
*{jdk} or a later version in the Java {jdk_major} release series*. We recommend
using a link:/support/matrix[supported]
http://www.oracle.com/technetwork/java/eol-135779.html[LTS version of Java]. http://www.oracle.com/technetwork/java/eol-135779.html[LTS version of Java].
Elasticsearch will refuse to start if a known-bad version of Java is used. Elasticsearch will refuse to start if a known-bad version of Java is used.
The bundled JVM directory may be removed when using your own JVM.
-- --