首页 > 基础资料 博客日记
SpringBoot和JDK版本兼容性
2024-09-27 18:00:07基础资料围观108次
本篇文章分享SpringBoot和JDK版本兼容性,对你有帮助的话记得收藏一下,看Java资料网收获更多编程知识
SpringBoot和JDK版本兼容问题,就是SpringBoot的每个版本支持哪些JDK版本。
在spring官网、spring-boot项目的github地址都没有找到一个统一的总结,类似表格这样,所以到spring-boot的各个版本的文档中找出来。如果有官方的总结我没找到的,可以跟我说下。
下面的表格列出了SpringBoot版本、JDK版本的兼容性,以及兼容性的来源,都在spring-boot的各个版本的文档中,有链接、描述java版本的原文。
SpringBoot Versions | JDK Versions | 来源 |
---|---|---|
0.0 -1.1 | 6+(6 or higher) | https://docs.spring.io/spring-boot/docs/0.0.x/reference/html/getting-started-installing-spring-boot.html Spring Boot can be used with “classic” Java development tools or installed as a command line tool. Regardless, you will need Java SDK v1.6 or higher. https://docs.spring.io/spring-boot/docs/1.0.x/reference/html/getting-started-installing-spring-boot.html Spring Boot can be used with “classic” Java development tools or installed as a command line tool. Regardless, you will need Java SDK v1.6 or higher. https://docs.spring.io/spring-boot/docs/1.1.x/reference/html/getting-started-installing-spring-boot.html Spring Boot can be used with “classic” Java development tools or installed as a command line tool. Regardless, you will need Java SDK v1.6 or higher. |
1.2 - 1.5 | 6 - 7 | https://docs.spring.io/spring-boot/docs/1.2.x/reference/html/getting-started-system-requirements.html By default, Spring Boot 1.2.8.RELEASE requires Java 7 and Spring Framework 4.1.5 or above. You can use Spring Boot with Java 6 with some additional configuration. https://docs.spring.io/spring-boot/docs/1.3.x/reference/html/getting-started-system-requirements.html By default, Spring Boot 1.3.8.RELEASE requires Java 7 and Spring Framework 4.2.8.RELEASE or above. You can use Spring Boot with Java 6 with some additional configuration. https://docs.spring.io/spring-boot/docs/1.4.x/reference/html/getting-started-system-requirements.html By default, Spring Boot 1.4.7.RELEASE requires Java 7 and Spring Framework 4.3.9.RELEASE or above. You can use Spring Boot with Java 6 with some additional configuration. https://docs.spring.io/spring-boot/docs/1.5.x/reference/html/getting-started-system-requirements.html By default, Spring Boot 1.5.22.RELEASE requires Java 7 and Spring Framework 4.3.25.RELEASE or above. You can use Spring Boot with Java 6 with some additional configuration. |
2.0 | 8 - 9 | https://docs.spring.io/spring-boot/docs/2.0.x/reference/html/getting-started-system-requirements.html Spring Boot 2.0.9.RELEASE requires Java 8 or 9 and Spring Framework 5.0.13.RELEASE or above. |
2.1 | 8 - 12 | https://docs.spring.io/spring-boot/docs/2.1.x/reference/html/getting-started-system-requirements.html Spring Boot 2.1.18.RELEASE requires Java 8 and is compatible up to Java 12 (included). |
2.2 - 2.3 | 8 - 15 | https://docs.spring.io/spring-boot/docs/2.2.x/reference/html/getting-started.html#getting-started-system-requirements Spring Boot 2.2.13.RELEASE requires Java 8 and is compatible up to Java 15 (included). https://docs.spring.io/spring-boot/docs/2.3.x/reference/html/getting-started.html#getting-started-system-requirements Spring Boot 2.3.12.RELEASE requires Java 8 and is compatible up to Java 15 (included). |
2.4 | 8 - 16 | https://docs.spring.io/spring-boot/docs/2.4.x/reference/html/getting-started.html#getting-started-system-requirements Spring Boot 2.4.13 requires Java 8 and is compatible up to Java 16 (included). |
2.5 | 8 - 18 | https://docs.spring.io/spring-boot/docs/2.5.x/reference/html/getting-started.html#getting-started.system-requirements Spring Boot 2.5.15 requires Java 8 and is compatible up to and including Java 18. |
2.6 | 8 - 19 | https://docs.spring.io/spring-boot/docs/2.6.x/reference/html/getting-started.html#getting-started.system-requirements Spring Boot 2.6.15 requires Java 8 and is compatible up to and including Java 19. |
2.7 | 8 - 21 | https://docs.spring.io/spring-boot/docs/2.7.x/reference/html/getting-started.html#getting-started.system-requirements Spring Boot 2.7.18 requires Java 8 and is compatible up to and including Java 21. |
3.0 - 3.2 | 17 - 21 | https://docs.spring.io/spring-boot/docs/3.0.x/reference/html/getting-started.html#getting-started Spring Boot 3.0.13 requires Java 17 and is compatible up to and including Java 21. https://docs.spring.io/spring-boot/docs/3.1.x/reference/html/getting-started.html#getting-started Spring Boot 3.1.6 requires Java 17 and is compatible up to and including Java 21. https://docs.spring.io/spring-boot/docs/3.2.x/reference/html/getting-started.html#getting-started Spring Boot 3.2.0 requires Java 17 and is compatible up to and including Java 21. |
文章来源:https://blog.csdn.net/timexx/article/details/135089774
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:jacktools123@163.com进行投诉反馈,一经查实,立即删除!
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:jacktools123@163.com进行投诉反馈,一经查实,立即删除!
标签:
上一篇:jpa~为字段添加insert的默认值
下一篇:【C++ 游戏】密室逃脱