From e9888f41cb5f82474b2a42ab8f053e89dbc98434 Mon Sep 17 00:00:00 2001 From: Maytas Monsereenusorn <52679095+maytasm3@users.noreply.github.com> Date: Wed, 11 Mar 2020 09:22:39 -0700 Subject: [PATCH] Modify check java version script to indicate experimental support for Java 11 (#9455) * Modify check java version script to indicate experimental support for Java 11 * update docs --- docs/tutorials/cluster.md | 4 ++-- docs/tutorials/index.md | 4 ++-- examples/bin/verify-java | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/tutorials/cluster.md b/docs/tutorials/cluster.md index 17a8195c375..bc64495ece7 100644 --- a/docs/tutorials/cluster.md +++ b/docs/tutorials/cluster.md @@ -132,9 +132,9 @@ The [basic cluster tuning guide](../operations/basic-cluster-tuning.md) has info We recommend running your favorite Linux distribution. You will also need: - * **Java 8** + * **Java 8 or later** -> **Warning:** Java 8 is required to run Druid. While Druid will start with a higher version of Java it will not function correctly. +> **Warning:** Druid only officially supports Java 8. Any Java version later than 8 is still experimental. > > If needed, you can specify where to find Java using the environment variables `DRUID_JAVA_HOME` or `JAVA_HOME`. For more details run the verify-java script. diff --git a/docs/tutorials/index.md b/docs/tutorials/index.md index bd2086f25a0..131c0cb008a 100644 --- a/docs/tutorials/index.md +++ b/docs/tutorials/index.md @@ -35,10 +35,10 @@ Before beginning the quickstart, it is helpful to read the [general Druid overvi You will need: -* **Java 8 (8u92+)** +* **Java 8 (8u92+) or later** * Linux, Mac OS X, or other Unix-like OS (Windows is not supported) -> **Warning:** Java 8 is required to run Druid. While Druid will start with a higher version of Java it will not function correctly. +> **Warning:** Druid only officially supports Java 8. Any Java version later than 8 is still experimental. > > If needed, you can specify where to find Java using the environment variables `DRUID_JAVA_HOME` or `JAVA_HOME`. For more details run the verify-java script. diff --git a/examples/bin/verify-java b/examples/bin/verify-java index 0a48d251808..ee972833142 100755 --- a/examples/bin/verify-java +++ b/examples/bin/verify-java @@ -28,10 +28,10 @@ sub fail_check { : "Make sure that \"java\" is installed and on your PATH."; print STDERR <<"EOT"; -Druid requires Java 8. $current_version_text +Druid only officially supports Java 8. Any Java version later than 8 is still experimental. $current_version_text -If you believe this check is in error, you can skip it using an -environment variable: +If you believe this check is in error or you still want to proceed with Java version other than 8, +you can skip this check using an environment variable: export DRUID_SKIP_JAVA_CHECK=1