How Zoomdata Validates an Environment's Java Version

As of version 5.8, Composer requires Java 11.0.5. All supported Zoomdata versions and earlier versions of Composer 5 use Java 8.

Zoomdata determines which Java is being used in your environment while the Zoomdata microservices are starting. It evaluates your environment in the following sequence. The first Java executable in this sequence that meets Zoomdata's minimum requirements is used and validation stops.

  1. The directory in the $JAVA_HOME environment variable path is evaluated to verify that it points to JRE/JDK and its $JAVA_HOME/bin/java path contains a valid Java executable that meets the minimum requirements.

  2. The /etc/environment file is parsed for its JAVA_HOME variable identifying the Java installation directory. This Java installation directory is then evaluated for a valid Java executable that meets the minimum requirements.

  3. The <composer-install-path>/jre folder is evaluated for a valid Java executable that meets the minimum requirements.

  4. The directories listed in the $PATH environment variable are evaluated for a valid Java executable that meets the minimum requirements.

If a Java executable that meets the minimum requirements is not found in this process, an exception occurs and Zoomdata is not started. To install a valid version of OpenJDK, see Manually Installing OpenJDK 8.