Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ else if ("Mac OS X".equals(osName)) {

private static void verifyJavaVersion()
{
Version required = Version.parse("11.0.11");
Version required = Version.parse("11.0.15");
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Product tests fail with:

ERROR: Trino requires Java 11.0.15 at minimum (found 11.0.11+9-LTS)

Looks like test images also need a newer Java first: https://github.com/trinodb/docker-images/blob/master/testing/centos7-oj11/Dockerfile#L26

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if (Runtime.version().compareTo(required) < 0) {
failRequirement("Trino requires Java %s at minimum (found %s)", required, Runtime.version());
}
Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/sphinx/installation/deployment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Linux operating system
Java runtime environment
^^^^^^^^^^^^^^^^^^^^^^^^

Trino requires a 64-bit version of Java 11, with a minimum required version of 11.0.11.
Trino requires a 64-bit version of Java 11, with a minimum required version of 11.0.15.
Earlier patch versions such as 11.0.2 do not work, nor will earlier major versions such as Java 8.
Newer major versions such as Java 12 or 13, including Java 17, are not supported -- they may work, but are not tested.

Expand Down