Skip to content

Upgrade from JDK8

Jonathan Lu edited this page May 13, 2020 · 17 revisions

Potential incompatibilities

  • JDK versions
    Since JDK9, new version string schema is introduced by JEP 223, which put changes to java -version output and system properties. Some legacy version-checking code may have to be rewritten to support this new schema.

  • Removed internal APIs
    JEP 260 has hidden most of the JDK internal APIs from Java developers since JDK9, you may have to adjust your code to adapt, especially for Unsafe.

  • GC log
    Command line options and output format of GC logs have changed, tools and libraries depending on GC log format may have to be updated. See JEP 271 for more information

  • Removed JavaEE APIs and CORBA modules
    Java EE and CORBA modules have been removed by JEP 320, if your project depends on such APIs, you may want to check Jarkata EE project for upgrading.

  • JDK directory layout
    There's no JDK/jre directory any more.

You can find more information on JDK9 Release Notes and JDK11 Release Notes

Known libraries that support Dragonwell 11

If a software supports Java11, it should support Dragonwell 11 as well.

name minimum version
Spring Boot 2.1.0
Spring 5.1
Intellij 2019.1
Eclipse 4.9
Tomcat 9.0
Jetty 9.4.13
Netty 4.1.30
Maven 3.5.0
Maven compiler plugin 3.8.0
Gradle 5.0
ASM 7.0
Guava 19.0

Please let us know if you have more libraries to add here.

Tools to help

References