Update Reitti to Java 25 for 3.0.0 compatibility (#10164)

* Initial plan

* Update Java version from 24 to 25 for Reitti 3.0.0 compatibility

Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com>

* Add Java 25 setup to update script in ct/reitti.sh

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com>
This commit is contained in:
Copilot
2025-12-20 00:01:18 +01:00
committed by GitHub
parent 0c76ed793b
commit 021297b2ce
2 changed files with 4 additions and 2 deletions

View File

@ -32,6 +32,8 @@ function update_script() {
systemctl stop reitti
msg_ok "Stopped Service"
JAVA_VERSION="25" setup_java
rm -f /opt/reitti/reitti.jar
USE_ORIGINAL_FILENAME="true" fetch_and_deploy_gh_release "reitti" "dedicatedcode/reitti" "singlefile" "latest" "/opt/reitti" "reitti-app.jar"
mv /opt/reitti/reitti-*.jar /opt/reitti/reitti.jar

View File

@ -21,7 +21,7 @@ $STD apt install -y \
zstd
msg_ok "Installed Dependencies"
JAVA_VERSION="24" setup_java
JAVA_VERSION="25" setup_java
PG_VERSION="17" PG_MODULES="postgis" setup_postgresql
PG_DB_NAME="reitti_db" PG_DB_USER="reitti" setup_postgresql_db