Upgrading from OpenJDK 8 to 17

I am using Ubuntu 20.04 and OpenJDK 8, and reading that Graylog 5 requires Java 17.

graylog@graylog:~$ java -version
openjdk version "1.8.0_342"
OpenJDK Runtime Environment (build 1.8.0_342-8u342-b07-0ubuntu1~20.04-b07)
OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode)

Did anyone try upgrading OpenJDK from 8 to 17 ? Should the upgrade be beneficial to Graylog (e.g. improve performance), or should I avoid / delay upgrading ? Any feedback or recommendation would be most welcome.

Hey @H2Cyber

What I do is use alternatives command to set the default version of java. Incase something doesn’t work out or if an issue occurs, I can just which back. I have not install Java 17 yet, kind waiting on OpenSearch for Ubuntu packaging

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.