mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 09:28:55 -04:00
Add docs for bundled jdk (#40487)
This commit changes the note in docs about required java version to note the existence of the bundled jdk and how to bring your own java. It also reorganizes the zip/targz docs as zip is no longer suitable on Linux/MacOS.
This commit is contained in:
parent
789806f938
commit
d96e71d35e
13 changed files with 99 additions and 100 deletions
|
@ -23,20 +23,19 @@ platforms, but it is possible that it will work on other platforms too.
|
|||
[[jvm-version]]
|
||||
== Java (JVM) Version
|
||||
|
||||
Elasticsearch is built using Java, and requires at least
|
||||
http://www.oracle.com/technetwork/java/javase/downloads/index.html[Java {jdk_major}]
|
||||
in order to run. Only Oracle's Java and the OpenJDK are supported. The same JVM
|
||||
version should be used on all Elasticsearch nodes and clients.
|
||||
Elasticsearch is built using Java, and includes a bundled version of
|
||||
http://openjdk.java.net[OpenJDK] from the JDK maintainers (GPLv2+CE)
|
||||
within each distribution. The bundled JVM exists within the `jdk` directory of
|
||||
the Elasticsearch home directory.
|
||||
|
||||
We recommend installing Java version *{jdk} or a later version in the Java
|
||||
{jdk_major} release series*. We recommend using a
|
||||
link:/support/matrix[supported]
|
||||
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 not using the bundled JVM, we recommend installing Java version
|
||||
*{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].
|
||||
Elasticsearch will refuse to start if a known-bad version of Java is used.
|
||||
|
||||
The version of Java that Elasticsearch will use can be configured by setting
|
||||
the `JAVA_HOME` environment variable.
|
||||
|
||||
--
|
||||
|
||||
include::setup/install.asciidoc[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue