# Trino is moving to Java 21

DevFeed: [Trino is moving to Java 21](<https://devfeed.tech/articles/trino-is-moving-to-java-21-8740.md>)

Original publisher: [Read original article](<https://trino.io/blog/2023/11/03/java-21.html>)

Author: Manfred Moser

Published: 2023-11-03T00:00:00Z

Content type: release

Language: en

Sources: [Trino Blog](<https://devfeed.tech/sources/trino-blog.md>)

Topics: [releases](<https://devfeed.tech/topics/releases.md>)

Tags: [docker](<https://devfeed.tech/tags/docker.md>), [docker-image](<https://devfeed.tech/tags/docker-image.md>), [java](<https://devfeed.tech/tags/java.md>), [performance](<https://devfeed.tech/tags/performance.md>), [release](<https://devfeed.tech/tags/release.md>), [testing](<https://devfeed.tech/tags/testing.md>)

## AI overview

Trino 432 can run on Java 21, and its Docker image now uses Eclipse Temurin Java 21. The project reports testing support and plans to make Java 21 the required runtime after gathering user feedback.

## Source excerpt

We're excited to announce that as of version 432, Trino can run with Java 21. In fact, the Trino Docker image uses Java 21 now. We have done upgrades to newer Java LTS versions successfully before when we upgraded to Java 11 and then Java 17 with Trino 390. Each time the improvements to the JVM runtime, the garbage collectors, the involved libraries, and the dependencies resulted in performance gains that came nearly for free. And each time we were able to take advantage of new language constructs and standard libraries to improve the codebase for all contributors and maintainers of the project. Now it is time to do it again.