Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Upgrade from Gerrit 3.8.1 to 3.9.4 - java 11 to java 17

145 views
Skip to first unread message

Guy Levkowitz

unread,
May 7, 2024, 8:50:37 AM5/7/24
to Repo and Gerrit Discussion
Hey


We have server that is Gerrit 3.8.1 with Java 11 --> 

perkins-stg ~ % java --version
openjdk 11.0.18 2023-01-17 LTS
OpenJDK Runtime Environment (Red_Hat-11.0.18.0.10-1.el7_9) (build 11.0.18+10-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-11.0.18.0.10-1.el7_9) (build 11.0.18+10-LTS, mixed mode, sharing)
perkins-stg ~ % which java
/bin/java
perkins-stg ~ % ls -ltr /bin/java
lrwxrwxrwx 1 root root 22 Jan 30  2023 /bin/java -> /etc/alternatives/java*
perkins-stg ~ % ls -ltr /etc/alternatives/java
lrwxrwxrwx 1 root root 65 Jan 30  2023 /etc/alternatives/java -> /usr/lib/jvm/java-11-openjdk-11.0.18.0.10-1.el7_9.x86_64/bin/java*

Can we upgrade to java 17  with Gerrit 3.8.1 
Or  first need to upgrade to Gerrit 3.9.X  and just after i can upgrade to java 17 ? 


wait for your reply

thanks

Guy

Matthias Sohn

unread,
May 7, 2024, 9:31:47 AM5/7/24
to Guy Levkowitz, Repo and Gerrit Discussion
I think 3.8 should work on Java 17. AFAIK the first release fully supporting Java 17 was 3.6,
Though 3.6 and 3.7 required this configuration on Java 17

Looks like we should improve release notes by explicitly listing supported Java versions.

If you are on 3.8.1 you should update to the latest service release 3.8.5
to benefit from the many fixes and improvements it contains, see

wait for your reply

thanks

Guy

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/e787e898-dc2e-4b46-8fd4-a126481fe96cn%40googlegroups.com.

Guy Levkowitz

unread,
May 8, 2024, 5:07:52 AM5/8/24
to Repo and Gerrit Discussion
Thanks, Matthias Sohn  for your quick answer.

I would prefer to upgrade java 11 -->17 (to our current version 3.8.1) - and we see that all works fine. 
then upgrade to 3.9.4 which is the last version of 3.9.X - right ? 


ב-יום שלישי, 7 במאי 2024 בשעה 16:31:47 UTC+3, Matthias Sohn כתב/ה:

Matthias Sohn

unread,
May 8, 2024, 5:19:08 AM5/8/24
to Guy Levkowitz, Repo and Gerrit Discussion
On Wed, May 8, 2024 at 11:07 AM Guy Levkowitz <sil...@gmail.com> wrote:
Thanks, Matthias Sohn  for your quick answer.

I would prefer to upgrade java 11 -->17 (to our current version 3.8.1) - and we see that all works fine. 
then upgrade to 3.9.4 which is the last version of 3.9.X - right ? 

Reply all
Reply to author
Forward
0 new messages