diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index b36c5831..ca4a8f3d 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -24,8 +24,8 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v4
with:
- java-version: 17
- distribution: 'sapmachine'
+ java-version: 21
+ distribution: sapmachine
- name: Build with Maven
run: mvn -ntp -B clean install
diff --git a/mta.yaml b/mta.yaml
index 39b88f1f..870ac9c8 100644
--- a/mta.yaml
+++ b/mta.yaml
@@ -17,7 +17,7 @@ modules:
properties:
SPRING_PROFILES_ACTIVE: cloud
JBP_CONFIG_COMPONENTS: '{jres: ["JavaBuildpack::Jre::SapMachineJRE"]}'
- JBP_CONFIG_SAP_MACHINE_JRE: '{ jre: { version: "17.+" } }'
+ JBP_CONFIG_SAP_MACHINE_JRE: '{ jre: { version: "21.+" } }'
# We do not want cfenv to configure the DataSource for us
# cfenv uses names of the services, so this variable must be adapted if needed
# as CFENV_SERVICE_[service-name]_ENABLED
diff --git a/pom.xml b/pom.xml
index 431dc5ca..5899f95d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,12 +15,12 @@
1.0.0-SNAPSHOT
- 17
- 3.5.0
+ 21
+ 3.6.0
3.4.0
3.8.4
- 8.5.0
+ 8.6.1
UTF-8