Skip to content

Commit 3c69fdc

Browse files
authored
Update contributing docs to reflect JDK 11 (elastic#40955)
This commit updates the contributing docs in reflection of the fact that the minimum JDK for the master branch (Elasticsearch 8.0.0) is JDK 11.
1 parent 608a39a commit 3c69fdc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ Contributing to the Elasticsearch codebase
9595
JDK 12 is required to build Elasticsearch. You must have a JDK 12 installation
9696
with the environment variable `JAVA_HOME` referencing the path to Java home for
9797
your JDK 12 installation. By default, tests use the same runtime as `JAVA_HOME`.
98-
However, since Elasticsearch supports JDK 8, the build supports compiling with
99-
JDK 12 and testing on a JDK 8 runtime; to do this, set `RUNTIME_JAVA_HOME`
100-
pointing to the Java home of a JDK 8 installation. Note that this mechanism can
101-
be used to test against other JDKs as well, this is not only limited to JDK 8.
98+
However, since Elasticsearch supports JDK 11, the build supports compiling with
99+
JDK 12 and testing on a JDK 11 runtime; to do this, set `RUNTIME_JAVA_HOME`
100+
pointing to the Java home of a JDK 11 installation. Note that this mechanism can
101+
be used to test against other JDKs as well, this is not only limited to JDK 11.
102102

103103
> Note: It is also required to have `JAVA8_HOME`, `JAVA9_HOME`, `JAVA10_HOME`
104104
and `JAVA11_HOME` available so that the tests can pass.

0 commit comments

Comments
 (0)