From 442e1b40b8ba7dc94aeee25640c38fc86f2142c4 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Mon, 8 Apr 2019 08:19:29 -0400 Subject: [PATCH] Update contributing docs to reflect JDK 11 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. --- CONTRIBUTING.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8da8f09188d0c..9bf11f2b49fd5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -95,10 +95,10 @@ Contributing to the Elasticsearch codebase JDK 12 is required to build Elasticsearch. You must have a JDK 12 installation with the environment variable `JAVA_HOME` referencing the path to Java home for your JDK 12 installation. By default, tests use the same runtime as `JAVA_HOME`. -However, since Elasticsearch supports JDK 8, the build supports compiling with -JDK 12 and testing on a JDK 8 runtime; to do this, set `RUNTIME_JAVA_HOME` -pointing to the Java home of a JDK 8 installation. Note that this mechanism can -be used to test against other JDKs as well, this is not only limited to JDK 8. +However, since Elasticsearch supports JDK 11, the build supports compiling with +JDK 12 and testing on a JDK 11 runtime; to do this, set `RUNTIME_JAVA_HOME` +pointing to the Java home of a JDK 11 installation. Note that this mechanism can +be used to test against other JDKs as well, this is not only limited to JDK 11. > Note: It is also required to have `JAVA8_HOME`, `JAVA9_HOME`, `JAVA10_HOME` and `JAVA11_HOME` available so that the tests can pass.