From 6ff5d3a9d8bbec28f86b7c40fa83f99c021385e0 Mon Sep 17 00:00:00 2001 From: Markus Ofterdinger Date: Thu, 21 May 2026 10:21:32 +0200 Subject: [PATCH 1/4] JDK 21 --- java/migration.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java/migration.md b/java/migration.md index 7d6b4d281d..01d4fcbd32 100644 --- a/java/migration.md +++ b/java/migration.md @@ -67,6 +67,7 @@ CAP Java 5.0 increased some minimum required versions: | Dependency | Minimum Version | | --- | --- | +| Java / JDK | 21 | | Spring Boot | 4.0 | | XSUAA (BTP Security Library) | 4.0.0 | | Maven | 3.9.10 | @@ -144,7 +145,7 @@ The `cds-services-archetype` is used by the `@sap/cds-dk` to generate initial CA #### Default JDK Version -The default JDK version of new CAP Java projects has been changed to JDK **25**. The minimum required JDK version hasn't changed and is still 17. +The default JDK version of new CAP Java projects has been changed to JDK **25**. The minimum required JDK version has changed to **21**. ### Removed repackaged Olingo Dependencies { #removed-olingo-4-to-5 } From 129d99b3c30114058226747841872b8d7eb47abd Mon Sep 17 00:00:00 2001 From: Markus Ofterdinger Date: Thu, 21 May 2026 12:02:36 +0200 Subject: [PATCH 2/4] Update building.md --- java/developing-applications/building.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/developing-applications/building.md b/java/developing-applications/building.md index 5916fb860d..904a2a7475 100644 --- a/java/developing-applications/building.md +++ b/java/developing-applications/building.md @@ -337,7 +337,7 @@ It supports the following command-line options: | `-DodataVersion=[v2\|v4]` | Specify which protocol adapter is activated by default. Defaults to `v4`| | `-DtargetPlatform=cloudfoundry` | Adds CloudFoundry target platform support to the project. | | `-DinMemoryDatabase=[h2\|sqlite]` | Specify which in-memory database is used for local testing. If not specified, the default value is `h2`. | -| `-DjdkVersion=[17\|21\|25]` | Specifies the target JDK version. Defaults to `21`. | +| `-DjdkVersion=[21\|25]` | Specifies the target JDK version. Defaults to `25`. | | `-Dpersistence=[true\|false]` | Specify whether persistence is enabled (`true`) or disabled (`false`). Defaults to `true`. | | `-DcdsdkVersion=` | Sets the provided cds-dk version in the project. If not specified, the default of CAP Java is used. | From 86cbf4c12d65f681654ce1d5b57e31501f0a537f Mon Sep 17 00:00:00 2001 From: Markus Ofterdinger Date: Thu, 18 Jun 2026 09:44:01 +0200 Subject: [PATCH 3/4] Update java/migration.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Adrian Görler --- java/migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/migration.md b/java/migration.md index 3a14f2296f..67cfbbee1e 100644 --- a/java/migration.md +++ b/java/migration.md @@ -145,7 +145,7 @@ The `cds-services-archetype` is used by the `@sap/cds-dk` to generate initial CA #### Default JDK Version -The default JDK version of new CAP Java projects has been changed to JDK **25**. The minimum required JDK version has changed to **21**. +The default JDK version of new CAP Java projects has been changed to JDK **25**. The minimum required JDK version is now **21**. ### Removed repackaged Olingo Dependencies { #removed-olingo-4-to-5 } From 9cc864ee24ff36b1d42abf6cf97099d5e7258b0d Mon Sep 17 00:00:00 2001 From: Markus Ofterdinger Date: Thu, 18 Jun 2026 10:38:54 +0200 Subject: [PATCH 4/4] Update migration.md --- java/migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/migration.md b/java/migration.md index 67cfbbee1e..1490f40410 100644 --- a/java/migration.md +++ b/java/migration.md @@ -68,7 +68,7 @@ CAP Java 5.0 increased some minimum required versions: | Dependency | Minimum Version | | --- | --- | | Java / JDK | 21 | -| Spring Boot | 4.0 | +| Spring Boot | 4.1 | | XSUAA (BTP Security Library) | 4.0.0 | | Maven | 3.9.15 |