3
votes

i want make spring boot project in eclipse using project wizard.

select Spring - Spring Starter Project

can't select java 6 option.

Project Wizard Spring Starter Project

Why is there no choice Java Version 6?

my eclipse and sts plugin version below:

Version: Luna Service Release 2 (4.4.2)

Installed STS Plugin: STS Plugin version

can i display Java Version 6 in Project Wizard?

or make project for Java Version 8 first can migration to Java Version 6?

3
I'm curious of why you want to use Java 6?MC Emperor
@MC Emperor The client environment is only available for java 6.JYL
@JYL i would consider if you REALLY need to use java6 for that. I would recommend in most cases, if not in every case to still use atleast java 8.Clomez

3 Answers

2
votes

Spring Boot 1.5 is the last release version which supports java 6.

For Spring Boot 2 you should have Java 8 or higher version.

So it is possible to run Spring Boot 1.5 on Java 6. See documentation reference guide.

1
votes

No, you cannot. The current stable version of Spring Boot (2.1.0 at time of writing) requires Java 8 or 9, according to Spring Boot Documentation.

0
votes

Actually , There are various version jars of spring-boot available. But still your requirement to with Java 6. Why? I think atleast you should go for java 1.7 (which is also now not recommended by oracle to start a new Project ).

If you talk about only spring-boot. then Spring-boot 2 is latest and it actually design over java 8. So, at-least java8 is required if you want to create a project using Spring starter here you go.Spring Starter Project Creation

Spring-boot-1.5.0 for which you should think about.

This is last version of spring boot which actually supports 1.6 or later (work also on java8 but some additional stuffs like spring-data, security, cloud etc... API's have some deprecated methods or class).

Now if you have only a option to work with java6 then you should create a project and take care of dependency in your build Tool (Maven/Gradle/Ant).