从SpringBoot的官方文档总结而来的对应JDK版本的信息。
官方文档的地址如下
docs.spring.io/spring-boot… 点击下图的链接即可看到需要的JDK版本信息!
版本对应信息如下
SpringBoot版本 | JDK最低版本 | SpringBoot官网证据 |
---|---|---|
1.0.0.RELEASE | 1.6 | Regardless, you will need Java SDK v1.6 or higher. |
1.0.1.RELEASE | 1.6 | Regardless, you will need Java SDK v1.6 or higher. |
1.0.2.RELEASE | 1.6 | Regardless, you will need Java SDK v1.6 or higher. |
1.1.0.RELEASE | 1.6 | Regardless, you will need Java SDK v1.6 or higher. |
1.1.1.RELEASE | 1.6 | Regardless, you will need Java SDK v1.6 or higher. |
1.1.2.RELEASE | 1.6 | Regardless, you will need Java SDK v1.6 or higher. |
1.1.3.RELEASE | 1.6 | Regardless, you will need Java SDK v1.6 or higher. |
1.1.4.RELEASE | 1.6 | Regardless, you will need Java SDK v1.6 or higher. |
1.1.5.RELEASE | 1.6 | Regardless, you will need Java SDK v1.6 or higher. |
1.1.6.RELEASE | 1.6 | Regardless, you will need Java SDK v1.6 or higher. |
1.1.7.RELEASE | 1.6 | Regardless, you will need Java SDK v1.6 or higher. |
1.1.8.RELEASE | 1.6 | Regardless, you will need Java SDK v1.6 or higher. |
1.1.9.RELEASE | 1.6 | Regardless, you will need Java SDK v1.6 or higher. |
1.1.10.RELEASE | 1.6 | Regardless, you will need Java SDK v1.6 or higher. |
1.1.11.RELEASE | 1.6 | Regardless, you will need Java SDK v1.6 or higher. |
1.1.12.RELEASE | 1.6 | Regardless, you will need Java SDK v1.6 or higher. |
1.2.0.RELEASE | 1.6 | Spring Boot 1.2.0.RELEASE requires Java 6 and Spring Framework 4.1.3 or above. |
1.2.1.RELEASE | 1.6 | Spring Boot 1.2.1.RELEASE requires Java 6 and Spring Framework 4.1.3 or above. |
1.2.2.RELEASE | 1.7 | Spring Boot 1.2.2.RELEASE requires Java 7 and Spring Framework 4.1.3 or above. |
1.2.3.RELEASE | 1.7 | Spring Boot 1.2.3.RELEASE requires Java 7 and Spring Framework 4.1.5 or above. |
1.2.4.RELEASE | 1.7 | Spring Boot 1.2.4.RELEASE requires Java 7 and Spring Framework 4.1.5 or above. |
1.2.5.RELEASE | 1.7 | Spring Boot 1.2.5.RELEASE requires Java 7 and Spring Framework 4.1.5 or above. |
1.2.6.RELEASE | 1.7 | Spring Boot 1.2.6.RELEASE requires Java 7 and Spring Framework 4.1.5 or above. |
1.2.7.RELEASE | 1.7 | Spring Boot 1.2.7.RELEASE requires Java 7 and Spring Framework 4.1.5 or above. |
1.2.8.RELEASE | 1.7 | Spring Boot 1.2.8.RELEASE requires Java 7 and Spring Framework 4.1.5 or above. |
1.3.0.RELEASE | 1.7 | Spring Boot 1.3.0.RELEASE requires Java 7 and Spring Framework 4.1.5 or above. |
1.3.1.RELEASE | 1.7 | Spring Boot 1.3.0.RELEASE requires Java 7 and Spring Framework 4.1.5 or above. |
1.3.2.RELEASE | 1.7 | Spring Boot 1.3.0.RELEASE requires Java 7 and Spring Framework 4.1.5 or above. |
1.3.3.RELEASE | 1.7 | Spring Boot 1.3.0.RELEASE requires Java 7 and Spring Framework 4.1.5 or above. |
1.3.4.RELEASE | 1.7 | Spring Boot 1.3.4.RELEASE requires Java 7 and Spring Framework 4.2.6.RELEASE or above. |
1.3.5.RELEASE | 1.7 | Spring Boot 1.3.5.RELEASE requires Java 7 and Spring Framework 4.2.6.RELEASE or above. |
1.3.6.RELEASE | 1.7 | Spring Boot 1.3.6.RELEASE requires Java 7 and Spring Framework 4.2.7.RELEASE or above. |
1.3.7.RELEASE | 1.7 | Spring Boot 1.3.7.RELEASE requires Java 7 and Spring Framework 4.2.7.RELEASE or above. |
1.3.8.RELEASE | 1.7 | Spring Boot 1.3.8.RELEASE requires Java 7 and Spring Framework 4.2.8.RELEASE or above. |
1.4.0.RELEASE | 1.7 | Spring Boot 1.4.0.RELEASE requires Java 7 and Spring Framework 4.3.2.RELEASE or above. |
1.4.1.RELEASE | 1.7 | Spring Boot 1.4.1.RELEASE requires Java 7 and Spring Framework 4.3.3.RELEASE or above. |
1.4.2.RELEASE | 1.7 | Spring Boot 1.4.2.RELEASE requires Java 7 and Spring Framework 4.3.4.RELEASE or above. |
1.4.3.RELEASE | 1.7 | Spring Boot 1.4.3.RELEASE requires Java 7 and Spring Framework 4.3.5.RELEASE or above. |
1.4.4.RELEASE | 1.7 | Spring Boot 1.4.4.RELEASE requires Java 7 and Spring Framework 4.3.6.RELEASE or above. |
1.4.5.RELEASE | 1.7 | Spring Boot 1.4.5.RELEASE requires Java 7 and Spring Framework 4.3.7.RELEASE or above. |
1.4.6.RELEASE | 1.7 | Spring Boot 1.4.6.RELEASE requires Java 7 and Spring Framework 4.3.8.RELEASE or above. |
1.4.7.RELEASE | 1.7 | Spring Boot 1.4.7.RELEASE requires Java 7 and Spring Framework 4.3.9.RELEASE or above. |
1.5.0.RELEASE | 1.7 | Spring Boot 1.5.0.RELEASE requires Java 7 and Spring Framework 4.3.6.RELEASE or above. |
1.5.1.RELEASE | 1.7 | Spring Boot 1.5.1.RELEASE requires Java 7 and Spring Framework 4.3.6.RELEASE or above. |
1.5.2.RELEASE | 1.7 | Spring Boot 1.5.2.RELEASE requires Java 7 and Spring Framework 4.3.7.RELEASE or above. |
1.5.3.RELEASE | 1.7 | Spring Boot 1.5.3.RELEASE requires Java 7 and Spring Framework 4.3.8.RELEASE or above. |
1.5.4.RELEASE | 1.7 | Spring Boot 1.5.4.RELEASE requires Java 7 and Spring Framework 4.3.9.RELEASE or above. |
1.5.5.RELEASE | 1.7 | Spring Boot 1.5.5.RELEASE requires Java 7 and Spring Framework 4.3.10.RELEASE or above. |
1.5.6.RELEASE | 1.7 | Spring Boot 1.5.6.RELEASE requires Java 7 and Spring Framework 4.3.10.RELEASE or above. |
1.5.7.RELEASE | 1.7 | Spring Boot 1.5.7.RELEASE requires Java 7 and Spring Framework 4.3.11.RELEASE or above. |
1.5.8.RELEASE | 1.7 | Spring Boot 1.5.8.RELEASE requires Java 7 and Spring Framework 4.3.12.RELEASE or above. |
1.5.9.RELEASE | 1.7 | Spring Boot 1.5.9.RELEASE requires Java 7 and Spring Framework 4.3.13.RELEASE or above. |
1.5.10.RELEASE | 1.7 | Spring Boot 1.5.10.RELEASE requires Java 7 and Spring Framework 4.3.14.RELEASE or above. |
1.5.11.RELEASE | 1.7 | Spring Boot 1.5.11.RELEASE requires Java 7 and Spring Framework 4.3.15.RELEASE or above. |
1.5.12.RELEASE | 1.7 | Spring Boot 1.5.12.RELEASE requires Java 7 and Spring Framework 4.3.16.RELEASE or above. |
1.5.13.RELEASE | 1.7 | Spring Boot 1.5.13.RELEASE requires Java 7 and Spring Framework 4.3.17.RELEASE or above. |
1.5.14.RELEASE | 1.7 | Spring Boot 1.5.14.RELEASE requires Java 7 and Spring Framework 4.3.18.RELEASE or above. |
1.5.15.RELEASE | 1.7 | Spring Boot 1.5.15.RELEASE requires Java 7 and Spring Framework 4.3.18.RELEASE or above. |
1.5.16.RELEASE | 1.7 | Spring Boot 1.5.16.RELEASE requires Java 7 and Spring Framework 4.3.19.RELEASE or above. |
1.5.17.RELEASE | 1.7 | Spring Boot 1.5.17.RELEASE requires Java 7 and Spring Framework 4.3.20.RELEASE or above. |
1.5.18.RELEASE | 1.7 | Spring Boot 1.5.18.RELEASE requires Java 7 and Spring Framework 4.3.21.RELEASE or above. |
1.5.19.RELEASE | 1.7 | Spring Boot 1.5.19.RELEASE requires Java 7 and Spring Framework 4.3.22.RELEASE or above. |
1.5.20.RELEASE | 1.7 | Spring Boot 1.5.20.RELEASE requires Java 7 and Spring Framework 4.3.23.RELEASE or above. |
1.5.21.RELEASE | 1.7 | Spring Boot 1.5.21.RELEASE requires Java 7 and Spring Framework 4.3.24.RELEASE or above. |
2.0.0.RELEASE | 1.8 | Spring Boot 2.0.0.RELEASE requires Java 8 or 9 and Spring Framework 5.0.4.RELEASE or above. |
2.0.1.RELEASE | 1.8 | Spring Boot 2.0.1.RELEASE requires Java 8 or 9 and Spring Framework 5.0.5.RELEASE or above. |
2.0.2.RELEASE | 1.8 | Spring Boot 2.0.2.RELEASE requires Java 8 or 9 and Spring Framework 5.0.6.RELEASE or above. |
2.0.3.RELEASE | 1.8 | Spring Boot 2.0.3.RELEASE requires Java 8 or 9 and Spring Framework 5.0.7.RELEASE or above. |
2.0.4.RELEASE | 1.8 | Spring Boot 2.0.4.RELEASE requires Java 8 or 9 and Spring Framework 5.0.8.RELEASE or above. |
2.0.5.RELEASE | 1.8 | Spring Boot 2.0.5.RELEASE requires Java 8 or 9 and Spring Framework 5.0.9.RELEASE or above. |
2.0.6.RELEASE | 1.8 | Spring Boot 2.0.6.RELEASE requires Java 8 or 9 and Spring Framework 5.0.10.RELEASE or above. |
2.0.7.RELEASE | 1.8 | Spring Boot 2.0.7.RELEASE requires Java 8 or 9 and Spring Framework 5.0.11.RELEASE or above. |
2.0.8.RELEASE | 1.8 | Spring Boot 2.0.8.RELEASE requires Java 8 or 9 and Spring Framework 5.0.12.RELEASE or above. |
2.0.9.RELEASE | 1.8 | Spring Boot 2.0.9.RELEASE requires Java 8 or 9 and Spring Framework 5.0.13.RELEASE or above. |
2.1.0.RELEASE | 1.8 | Spring Boot 2.1.0.RELEASE requires Java 8 or 9 and Spring Framework 5.1.2.RELEASE or above. |
2.1.1.RELEASE | 1.8 | Spring Boot 2.1.1.RELEASE requires Java 8 and is compatible up to Java 11 (included). Spring Framework 5.1.3.RELEASE or above is also required. |
2.1.2.RELEASE | 1.8 | Spring Boot 2.1.2.RELEASE requires Java 8 and is compatible up to Java 11 (included). Spring Framework 5.1.4.RELEASE or above is also required. |
2.1.3.RELEASE | 1.8 | Spring Boot 2.1.3.RELEASE requires Java 8 and is compatible up to Java 11 (included). Spring Framework 5.1.5.RELEASE or above is also required. |
2.1.4.RELEASE | 1.8 | Spring Boot 2.1.4.RELEASE requires Java 8 and is compatible up to Java 11 (included). Spring Framework 5.1.6.RELEASE or above is also required. |
2.1.5.RELEASE | 1.8 | Spring Boot 2.1.5.RELEASE requires Java 8 and is compatible up to Java 11 (included). Spring Framework 5.1.7.RELEASE or above is also required. |
2.1.6.RELEASE | 1.8 | Spring Boot 2.1.6.RELEASE requires Java 8 and is compatible up to Java 11 (included). Spring Framework 5.1.8.RELEASE or above is also required. |
耐人寻味的一句话
在上面的表格中是对应的SpringBoot和要求的JDK版本。官网还有如下的一句话(随意拿个版本举例子):
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. See Section 73.9,
“How to use Java 6” for more details. Explicit build support is provided for Maven (3.2+) and Gradle (1.12+).
翻译过来就是:默认情况下SpringBoot1.2.8.RELEASE需要Jdk7+和Spring框架4.1.5+版本,但是如果你硬是要用JDK6的版本开发,
那你就看下面的对应文档。我估计出事SpringBoot概不负责(```