How Composer 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.
Composer determines which Java is being used in your environment while the Composer microservices are starting. It evaluates your environment in the following sequence. The first Java executable in this sequence that meets Composer's minimum requirements is used and validation stops.
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.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.The
<composer-install-path>/jre
folder is evaluated for a valid Java executable that meets the minimum requirements.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 Composer is not started. To install a valid version of OpenJDK, see Manually Install OpenJDK 11.
Comments
0 comments
Please sign in to leave a comment.