Java – How do I make a spring boot project for Java version 6 in Eclipse?

How do I make a spring boot project for Java version 6 in Eclipse?… here is a solution to the problem.

How do I make a spring boot project for Java version 6 in Eclipse?

I want to use the Project Wizard to make a Spring Boot project in Eclipse.

Choose Spring – Spring Starter Project

The Java 6 option cannot be selected.

Project Wizard Spring Starter Project

Why didn’t I choose Java Version 6?

My version of the Eclipse and STS plugin is as follows:

Version: Luna Service Release 2 (4.4.2).

Installed STS plug-in:
STS Plugin version

Can I display Java Version 6 in the project wizard?

Or create a project for Java version 8 first and migrate to Java version 6?

Solution

Spring Boot 1.5 is the last version to support Java 6.

For Spring Boot 2, you should have Java 8 or later.

Therefore, Spring Boot 1.5 can be run on Java 6. See the document reference guide

Related Problems and Solutions