Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问spring cloud alibaba 2021.0.6.2是否支持JDK21 #3945

Open
wangcl97 opened this issue Feb 7, 2025 · 3 comments
Open

请问spring cloud alibaba 2021.0.6.2是否支持JDK21 #3945

wangcl97 opened this issue Feb 7, 2025 · 3 comments

Comments

@wangcl97
Copy link

wangcl97 commented Feb 7, 2025

如题,我查询了软件的发布官网,得知spring cloud alibaba 2021.0.6.2与spring boot配套2.x,最低支持的jdk版本为1.8,不知道是否能够兼容支持配套JDK21呢。

@KouShenhai
Copy link
Contributor

KouShenhai commented Feb 7, 2025

不兼容,使用spring cloud alibaba 2023

jdk21兼容,可以互相交流

@wangcl97
Copy link
Author

wangcl97 commented Feb 7, 2025

@KouShenhai 感谢您的回答,但是我查询了这个软件的How to build章节,有看到如下描述,看起来2021.x 只要是满足1.8及以后就是支持的呢,按照通用的用法,高版本的JDK也是兼容低版本的吧,我的项目实际使用过JDK17配套2021.0.6.2能够正常运行,想尝试切换下JDK为21,仍然保持spring cloud alibaba 2021.0.6.2和SpringBoot 2.x,因此有这个疑虑。
2023.x branch: Corresponds to Spring Cloud 2023 & Spring Boot 3.2.x, JDK 17 or later versions are supported.
2022.x branch: Corresponds to Spring Cloud 2022 & Spring Boot 3.0.x, JDK 17 or later versions are supported.
2021.x branch: Corresponds to Spring Cloud 2021 & Spring Boot 2.6.x. JDK 1.8 or later versions are supported.

@KouShenhai
Copy link
Contributor

@KouShenhai 感谢您的回答,但是我查询了这个软件的How to build章节,有看到如下描述,看起来2021.x 只要是满足1.8及以后就是支持的呢,按照通用的用法,高版本的JDK也是兼容低版本的吧,我的项目实际使用过JDK17配套2021.0.6.2能够正常运行,想尝试切换下JDK为21,仍然保持spring cloud alibaba 2021.0.6.2和SpringBoot 2.x,因此有这个疑虑。 2023.x branch: Corresponds to Spring Cloud 2023 & Spring Boot 3.2.x, JDK 17 or later versions are supported. 2022.x branch: Corresponds to Spring Cloud 2022 & Spring Boot 3.0.x, JDK 17 or later versions are supported. 2021.x branch: Corresponds to Spring Cloud 2021 & Spring Boot 2.6.x. JDK 1.8 or later versions are supported.

好的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants