The latest version of Java 8 or 11 on the driver nodes in a target data source. A driver node submits queries to a target data source.
- Refer to the QueryGrid Compatibility Matrix for more information.
To locate Java, the following environment variables are checked in the following order:
- TDQG_NODE_JAVA_HOME
- JDK11_64_HOME
- JRE11_64_HOME
- JDK8_64_HOME
- JRE8_64_HOME
- JAVA_HOME
For systems running tdqg-node through a systemd service, add JAVA_HOME=/currentJavaPath/ to the /etc/opt/teradata/tdqg/node/environment file. If not added to the file, tdqg-node service cannot read or find the variables.
If all of the variables are empty, the which java command is used to find the Java path. If Java is not part of the path, use the system property driverJavaPath and the system-properties.sh script in the QueryGrid Manager bin directory /opt/teradata/tdqgm/bin to specify. You must run the script as root or as the tdqgm user. This path includes the Java executable. For example, if Java is located in /usr/currentJava/bin/ the path is driverJavaPath=/usr/currentJava/bin/java.