9. System Requirements

By default, Spring Boot 1.4.0.M2 requires Java 7 and Spring Framework 4.3.0.RC1 or above. You can use Spring Boot with Java 6 with some additional configuration. See Section 79.11, “How to use Java 6” for more details. Explicit build support is provided for Maven (3.2+) and Gradle (1.12+).

[Tip]Tip

Although you can use Spring Boot with Java 6 or 7, we generally recommend Java 8 if at all possible.

9.1 Servlet containers

The following embedded servlet containers are supported out of the box:

NameServlet VersionJava Version

Tomcat 8

3.1

Java 7+

Tomcat 7

3.0

Java 6+

Jetty 9

3.1

Java 7+

Jetty 8

3.0

Java 6+

Undertow 1.1

3.1

Java 7+

You can also deploy Spring Boot applications to any Servlet 3.0+ compatible container.