[JAVA] Plans to support JDK 11 for Eclipse and Spring Boot

Introduction

Even if I googled, it didn't come out at all. And I checked it a couple of times and it took a long time each time, so I made a note for myself. I would be grateful if you could point out any mistakes.

Scheduled support ~~ (as of 08/21/2018) ~~ (as of 10/30/2018)

software/version Official version(Stable)Release time Status
Eclipse/4.9 2018/09/19 Released
Spring Boot/2.1.0 2018/10/30 Released
OpenJDK/11 2018/09/25 Released

Spring Boot seems to work with OpenJDK 11 regardless of whether it is 2.0.X or 1.5.X. (Rather it worked)

OpenJDK11 + Alpine is not officially provided yet. https://github.com/docker-library/openjdk/issues/211 But ... it's the same as build28 in the EA download repository, so it shouldn't be a problem if you use it at the moment. Reference: https://github.com/h-r-k-matsumoto/alpine-openjdk-11/blob/master/Dockerfile

Like me, I want to make a small docker image if possible. I want to use alpine (or rather, I hate Ubuntu) If you are thinking, ʻAdoptOpenJDK` may be better.

https://github.com/AdoptOpenJDK/openjdk-docker#openjdk-and-docker

Dockerfiles and build scripts for generating various Docker Images related to OpenJDK. Currently this builds > OpenJDK images with hotspot and Eclipse OpenJ9 on Ubuntu and Alpine Linux.

I have a problem with IBM's acquisition of Red Hat, but well ... don't worry.

Docker Hub https://hub.docker.com/r/adoptopenjdk/openjdk11/tags/

Eclipse Delivered as Eclipse 4.9. https://projects.eclipse.org/projects/eclipse/releases/4.9.0/plan Check the correspondence of JDT_Core linked from there. https://wiki.eclipse.org/JDT_Core/Plan/4.9

To use it in Eclipse 4.9, you have to install the java-11-support plugin from the market place or you will not see 11 in the compile compatibility section. https://www.eclipse.org/lists/jdt-dev/msg01049.html

image.png

Spring Boot

It was released successfully. https://spring.io/blog/2018/10/30/spring-boot-2-1-0

However, it may be better to take a look at the ↓ milestones. Useful for problem solving. https://github.com/spring-projects/spring-boot/milestone/125 https://github.com/spring-projects/spring-boot/milestone/106

OpenJDK http://openjdk.java.net/projects/jdk/11/

Recommended Posts

Plans to support JDK 11 for Eclipse and Spring Boot
Add spring boot and gradle to eclipse
Spring.messages.fallback-to-system-locale: false is required to default message.properties for i18n support in Spring boot
Settings for connecting to MySQL with Spring Boot + Spring JDBC
How to set Dependency Injection (DI) for Spring Boot
How to write a unit test for Spring Boot 2
[Spring Boot] How to create a project (for beginners)
Attempt to SSR Vue.js with Spring Boot and GraalJS
Try Spring Boot from 0 to 100.
Introduction to Spring Boot ① ~ DI ~
Introduction to Spring Boot ② ~ AOP ~
Introduction to Spring Boot Part 1
Spring Boot for annotation learning
Steps required to issue an asynchronous event for Spring Boot
Until INSERT and SELECT to Postgres with Spring boot and thymeleaf
How to call and use API in Java (Spring Boot)
Connect to database with spring boot + spring jpa and CRUD operation
8 things to insert into DB using Spring Boot and JPA
Spring Boot Hello World in Eclipse
Spring Boot application development in Eclipse
Spring Boot for the first time
How to make a hinadan for a Spring Boot project using SPRING INITIALIZR
How to set Spring Boot + PostgreSQL
Frequent annotations for Spring Boot tests
Spring profile function, and Spring Boot application.properties
Use DBUnit for Spring Boot test
How to make CsrfRequestDataValueProcessor and original RequestDataValueProcessor coexist on Spring Boot
How to use ModelMapper (Spring boot)
Upgrade spring boot from 1.5 series to 2.0 series
Introduction to Android App Development 1 Installing JDK and Android Studio for mac
How to display characters entered in Spring Boot on a browser and reference links [Introduction to Spring Boot / For beginners]
Workaround for Command Line Runner to work with JUnit in Spring Boot
Implementation method for multi-data source with Spring boot (Mybatis and Spring Data JPA)
[For internal use] For those assigned to the Spring Boot project (under construction)
I introduced OpenAPI (Swagger) to Spring Boot (gradle) and tried various settings
[Introduction to Spring Boot] Form validation check
Hello World with Eclipse + Spring Boot + Maven
Support Protocol Buffers for Spring Cloud Stream
How to include Spring Tool in Eclipse 4.6.3?
HTTPS with Spring Boot and Let's Encrypt
Story when moving from Spring Boot 1.5 to 2.1
Changes when migrating from Spring Boot 1.5 to Spring Boot 2.0
How to build SquashTM and how to support Japanese
WebMvcConfigurer Memorandum of Understanding for Spring Boot 2.0 (Spring 5)
Changes when migrating from Spring Boot 2.0 to Spring Boot 2.2
How to split Spring Boot message file
[For beginners] How to debug in Eclipse
Construction and impression of Spring Boot Admin ~ Tips for displaying Git commit information ~
Book introduction: Spring Boot Recommended reference book for beginners!
About designing Spring Boot and unit test environment
Spring Boot Whitelabel Error Page and JSON Response
How to use MyBatis2 (iBatis) with Spring Boot 1.4 (Spring 4)
How to use built-in h2db with spring boot
Output request and response log in Spring Boot
How to make Spring Boot Docker Image smaller
How to use Spring Boot session attributes (@SessionAttributes)
The story of raising Spring Boot 1.5 series to 2.1 series
Various correspondence table of Spring Framework and Spring Boot
Try to implement login function with Spring Boot
Try OpenJDK 12 "Support for Compact Number Formatting (JDK-8177552)"
How to add a classpath in Spring Boot