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