Hello GeoServe-Users, Jody,

And reporting back with progress on your earlier question regarding Java 11 - 
finally.
Our server has been upgraded and is now using Java 11. One less on the list of 
laggards.

The process was -in the end- very uneventful.
An IT-expert had prepared some steps and a.o. found that Java 11 was already 
installed.
Setting that as the default version (one command) and restarting Tomcat was all 
that was needed.

>> And a slightly Step-by-step guide

  1.  Java can have multiple versions installed. If the desired new version is 
not installed yet on the target system.
Please do that first. Follow the available instructions from the site where you 
are downloading your Java installer from.
  2.  Which Java versions are installed:
> sudo yum list installed | grep -i java
#Check the default version for Java (as used by the operating system):
> java -version
#Check which Java version is used by Tomcat (Tomcat is what supplies Java into 
Apache, e.g. on the SCOMP1396, which is a requirement for GeoServer).
Look in / kijk in /etc/tomcat/tomcat.conf:
JAVA_HOME="/usr/lib/jvm/jre"
#Follow the symlinks (to find the original source).
> ls -l /usr/lib/jvm/jre
lrwxrwxrwx. 1 root root 21 Oct 10 13:42 /usr/lib/jvm/jre -> 
/etc/alternatives/jre
> ls -l /etc/alternatives/jre
lrwxrwxrwx. 1 root root 55 Oct 10 13:42 /etc/alternatives/jre -> 
/usr/lib/jvm/java-11-openjdk-11.0.16.0.8-1.el7_9.x86_64
#Adjusting the default Java version (follow the instruction on screen):
> sudo alternatives --config java
#Check once more which Java version is the default:
> java -version
#Restart tomcat to activate the changes for a.o. geoserver
> sudo systemctl restart tomcat
#Check logging:
/var/log/tomcat/catalina-xxxx.log
<<

Kind regards,

Jan Tjalling van der Wal

jan_tjalling.vander...@wur.nl<mailto:jan_tjalling.vander...@wur.nl>

Tel. +31 (0)317-4 87147 #
GSM +31(0)626120915 (privé) #
# Ma+Di 09:00-18:00, Wo XX, Do+Vr 09:00-18:00

From: Wal, Jan Tjalling van der
Sent: 05 September 2022 09:55
To: 'Jody Garnett' <jody.garn...@gmail.com>
Subject: RE: [Geoserver-users] java 11 minimum being considered, dropping java 8

Hello Jody,

I just checked for the Java-version on https://opengeodata.wmr.wur.nl/geoserver 
.
We are still at Java 8.

We will have a look in to a.o. the following and try and upgrade to Java 11:
https://openjdk.org/projects/jdk/11/
https://linuxconcept.com/install-java-on-red-hat-7-operating-system/

Is there any specific guidance available for RHEL7 + Tomcat when doing this 
upgrade?

Kind regards,

Jan Tjalling van der Wal

jan_tjalling.vander...@wur.nl<mailto:jan_tjalling.vander...@wur.nl>

Tel. +31 (0)317-4 87147 #
GSM +31(0)626120915 (privé) #
# Ma+Di 09:00-18:00, Wo XX, Do+Vr 09:00-18:00

From: Jody Garnett <jody.garn...@gmail.com<mailto:jody.garn...@gmail.com>>
Sent: 05 September 2022 00:40
To: GeoServer Users 
<geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>>
Subject: [Geoserver-users] java 11 minimum being considered, dropping java 8

Wanted to check in with the user list also, a proposal is put forward to drop 
java 8 
(https://github.com/geoserver/geoserver/wiki/GSIP-215<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgeoserver%2Fgeoserver%2Fwiki%2FGSIP-215&data=05%7C01%7CJan_Tjalling.vanderWal%40wur.nl%7C42c53cd851b04df7ef7908da8ec7d94d%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637979286248396481%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=cKqUWzciZtVvQkFGrA%2BJgYqf062UjWFpULedtvuqUMk%3D&reserved=0>)
 so we can update dependencies and plan Jakarta migration.

How many folks are still using Java 8 in production? Is there anything specific 
holding you back from upgrading to Java 11?

Indeed this is something the foss4g code sprint worked on (thanks to Euan 
Mitchell for initial pull request for docs 
https://github.com/geoserver/geoserver/pull/6137<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgeoserver%2Fgeoserver%2Fpull%2F6137&data=05%7C01%7CJan_Tjalling.vanderWal%40wur.nl%7C42c53cd851b04df7ef7908da8ec7d94d%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637979286248396481%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Lf4%2B0tn0ow4KIG3%2FZS4cUZzbD3V8NkViUIi9ozk%2FtdA%3D&reserved=0>).
--
Jody Garnett
--
--
Jody Garnett
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to