A comprehensive guide for migrating Java projects from Java 8 to Java 11. Covers the new six-month release cadence, Oracle JDK licensing changes (now commercial), and why OpenJDK becomes the default choice. Explains LTS options including Amazon Corretto. Migration preparation advice includes updating IDEs, build tools, and dependencies (especially bytecode manipulation libraries like ASM, Byte Buddy, cglib). Details four key migration challenges: removal of Java EE modules (JAXB, JAX-WS, CORBA, JTA, etc.) with replacement Maven coordinates, illegal access to internal APIs and how to use --add-exports/--add-opens, removal of deprecated APIs and JavaFX (now available via OpenJFX), and the URLClassLoader cast issue with the new AppClassLoader.
Table of contents
▚ On Releases, JDKs, And Licenses▚ Preparing Your Migration▚ Migrating From Java 8 To Java 11▚ SummarySort: