Skip to content

Downgrade required Java version from 21 to 17 to align to Spring Boot (fixes #349) - #351

Open
fabio-grassi wants to merge 1 commit into
oracle:mainfrom
fabio-grassi:issue-349
Open

fabio-grassi wants to merge 1 commit into
oracle:mainfrom
fabio-grassi:issue-349

Conversation

@fabio-grassi

Copy link
Copy Markdown

Summary

Downgrade Java version for Oracle Spring Boot Starters from v. 21 to v. 17

Motivation

As per documentation, Spring Cloud Oracle 2.x release line should tracks Spring Boot 4.x and Spring Framework 7.x. As both Spring Framework and Spring Boot system requirements demand Java 17, so should Oracle Spring Boot Starters, while up to version 26.3.0 it requires Java 21 effectively preventing its adoption in the (still many) Spring Boot 4.x applications that run on Java 17.

Proposed Solution

In parent pom.xml replace:

    <java.version>21</java.version>
    <maven.compiler.target>${java.version}</maven.compiler.target>
    <maven.compiler.source>${java.version}</maven.compiler.source>

with:

    <java.version>21</java.version>
    <maven.compiler.release>${java.version}</maven.compiler.release>

🔗 Related Issue

Fixes #349

system requirements and allow for wider adoption.

Signed-off-by: Fabio Grassi <40345396+fabio-grassi@users.noreply.github.com>
@oracle-contributor-agreement

Copy link
Copy Markdown

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
The following contributors of this PR have not signed the OCA:

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. label Oct 8, 2026
@fabio-grassi fabio-grassi changed the title Downgrade required Java version from 21 to 17 to align to Spring Boot Downgrade required Java version from 21 to 17 to align to Spring Boot (fixes #349) Oct 8, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Required At least one contributor does not have an approved Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Downgrade Oracle Spring Boot Starters to Java 17

1 participant