Installing JavaΒΆ
Prerequisites: Installing Trino Admin and Configuring Trino Admin
A Java 11 runtime environment is a requirement for running Trino.
If a suitable 64-bit version of Java 11 is already installed on the nodes, you can skip this step. Otherwise you have to install Java via RPM or a tarball.
trino-admin
can be used to install a Java RPM package on all nodes in the
cluster:
- Download the JDK 11 RPM for Linux.
- Copy the RPM to a location accessible by
trino-admin
. - Run the following command to install Java:
$ ./trino-admin package install <local_path_to_java_rpm>
Note
If installing Java on SLES, you need to specify the flag --nodeps
for
trino-admin package install
, so that the RPM is installed without
checking or validating dependencies.