Update Java runtime requirement for clients
mosabua opened this issue · 3 comments
Currently the Java-based clients include the CLI and the JDBC driver and they require Java 8 or newer. They benefit from using Java 22 or newer specifically with the spooling protocol.
The JDBC driver has many applications as downstream dependency but there is no complete list as these includes open source and closed source applications as well as custom applications that are completely private.
We are planning to upgrade the requirement to Java 11 or even 17 to allow us to remove usage of some old libraries that cause issues.
Java 8, 11, and 17 are all outdated LTS versions of Java at this stage. Usage of these old versions varies depending on the statistics you look at.
Trino itself requires Java 23.
We first discussed this upgrade internally with the maintainers and then also at Oct and Nov 2024 contributor calls. No concerns were raised.
We will ask for feedback again in the Trino Summit keynote and the following maintainer and contributor calls.
Unless we hear back concerns and reasonable justifications we will definitely up the requirement to Java 11 in early 2025.
Also note that users will still be able to use the JDBC driver versions from any Trino release up to that point including the current Trino 466 release where we added client support for the spooling protocol.
Fyi @wendigo @monimiller
Does that mean we can use Trino jdbc v466 (with java8 jdbc), while we will use newer Trino server version ?