[Geoserver-users] What is the exact Geoserver compatibility with Java 8?

I think some fixes are required about Geoserver’s Java version compatibility in the documentation.

Trying to use Java 8, but the environmental guides are different from one another.

  1. In this page: [[https://docs.geoserver.org/latest/en/user/production/java.html]1]
    It shows that the latest version of geoserver compatible with Java 8 is 2.21.x
  • “Java 8 - GeoServer 2.9.x to GeoServer 2.21.x (OpenJDK and Oracle JRE tested)”
  1. In the archives page: https://geoserver.org/download/ > archive tab
    It says that all versions are compatible with Java 8
  • GeoServer 2.23 archives, Java 8 and Java 11 compatible
  1. In the version 2.23 announcement: https://geoserver.org/announcements/2023/04/05/geoserver-2-23-0-released.html
    In “About GeoServer 2.23 Series” at the end of the page, it says “Drop Java 8” and nothing in the 2.22 announcement about Java compatibility.(According to the explanations in “1.” the dropping should have happened in this version)

I think some fixes are required about Geoserver’s Java version compatibility in the documentation.

Trying to use Java 8, but the environmental guides are different from one another.

  1. In this page: [[https://docs.geoserver.org/latest/en/user/production/java.html]1]
    It shows that the latest version of geoserver compatible with Java 8 is 2.21.x
  • “Java 8 - GeoServer 2.9.x to GeoServer 2.21.x (OpenJDK and Oracle JRE tested)”

It’s up to 2.22.x. I’ve noticed another issue though, it’s apparently selling Java 17 as supported,
while it’s just experimental. I’ve opened a PR about it:
https://github.com/geoserver/geoserver/pull/6828

(btw, if you spot documentation errors you can do the same, there is a “edit” button in every documentation page).

  1. In the archives page: https://geoserver.org/download/ > archive tab
    It says that all versions are compatible with Java 8
  • GeoServer 2.23 archives, Java 8 and Java 11 compatible

Hum… these pages are auto-generated with a loop, that’s why the message is the same… I guess the
logic needs a fix around here:
https://github.com/geoserver/geoserver.github.io/blob/main/download/index.html#L258

Anyone up to try and fix that so that version 23 and above are compatible with Java 11 only? (and maybe state java 17 experimentally)

  1. In the version 2.23 announcement: https://geoserver.org/announcements/2023/04/05/geoserver-2-23-0-released.html
    In “About GeoServer 2.23 Series” at the end of the page, it says “Drop Java 8” and nothing in the 2.22 announcement about Java compatibility.(According to the explanations in “1.” the dropping should have happened in this version)

This announcement is correct

Cheers
Andrea

···

GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions Group
phone: +39 0584 962313

fax: +39 0584 1660272

mob: +39 339 8844549

https://www.geosolutionsgroup.com/

http://twitter.com/geosolutions_it


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail