OSGeoLive icon indicating copy to clipboard operation
OSGeoLive copied to clipboard

Updated ETF install file for OSGeoLive 17 to work with new OS and Java version

Open jenriquesoriano opened this issue 1 year ago • 3 comments

Updated the ETF installation file to be compatible with both the new OsGeoLive 17 and JDK 11. Updated user identification and assignation on folders permits. Updated Java version and check for it before installing. Ensure the java Version is the one required in both the start and stop script.

jenriquesoriano avatar Oct 15 '24 22:10 jenriquesoriano

Hi,

The default Java in Ubuntu 24.04 is Java 21. We have downgraded to Java 17 to make transition easier. Will ETF work with Java 17?

kalxas avatar Oct 18 '24 06:10 kalxas

Hi @kalxas ,

Unfortunately, the ETF is not compatible with any Java version above 11 (we have tested this). In the past, we made some changes to migrate it to Java 11, upgrading from version 8.

Due to this limitation, it is necessary to run the ETF with Java 11. In the script, we ensure that Java 11 is installed if it doesn't already exist, and we configure etf-start and etf-stop to use it. However, we do not change the system's default Java version.

If you have any questions, feel free to reach out to me.

Thank you!

DanielMartinPerezdeLeon avatar Oct 18 '24 08:10 DanielMartinPerezdeLeon

Dear @kalxas ,

We have added a commit in the branch to ensure in any case that the system's Java version is not changed in any scope, to make this, we have set the Java path when starting jetty.sh to the Java-11 bin path.

I have deleted the last comment because we decided it was better to do everything in a single PR to maintain the timeline.

Thank you!

Regards,

DanielMartinPerezdeLeon avatar Oct 22 '24 09:10 DanielMartinPerezdeLeon

Thank you

kalxas avatar Oct 27 '24 08:10 kalxas