From 350cb6ce22255c889756fd4243a8519b7ebb3e2f Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 21 May 2026 18:32:40 +0000 Subject: [PATCH] Upgrade from Java 8 to Java 11 - Update maven-compiler-plugin source/target/release from 1.9 to 11 - Bump maven-compiler-plugin version from 3.1 to 3.8.1 - Add maven.compiler.source and maven.compiler.target properties - Update README.md to reference JDK 11+ and Adoptium Co-Authored-By: derek.wu --- README.md | 13 +++++-------- pom.xml | 9 ++++++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 9ee848d5..0b8ae3b1 100644 --- a/README.md +++ b/README.md @@ -29,17 +29,14 @@ The source code for all examples can be found in the directory [src/main/java/la * Appendix D: Lambdas and JVM bytecode We will update the repository as we update the book. Stay tuned! -### Make sure to have JDK8 installed -The latest binary can be found here: http://www.oracle.com/technetwork/java/javase/overview/java8-2100321.html +### Make sure to have JDK 11+ installed +The latest binary can be found here: https://adoptium.net/temurin/releases/?version=11 $ java -version -java version "1.8.0_05" -Java(TM) SE Runtime Environment (build 1.8.0_05-b13) -Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode) - - -You can download a preview version here: https://jdk8.java.net/ +openjdk version "11.0.x" +OpenJDK Runtime Environment (build 11.0.x+x) +OpenJDK 64-Bit Server VM (build 11.0.x+x, mixed mode) ### Compile/Run the examples Using maven: diff --git a/pom.xml b/pom.xml index 10e5035e..360ddfdd 100644 --- a/pom.xml +++ b/pom.xml @@ -10,6 +10,8 @@ UTF-8 + 11 + 11 @@ -35,10 +37,11 @@ org.apache.maven.plugins maven-compiler-plugin - 3.1 + 3.8.1 - 1.9 - 1.9 + 11 + 11 + 11