From 9fd1dc9ca28409e6d16fdba2f55764d7a0f332c5 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Thu, 14 May 2020 19:58:08 +0200 Subject: [PATCH] [doc] Update build instructions to require java 11 from now on --- BUILDING.md | 8 ++++---- docs/pages/pmd/devdocs/building.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index d02537a33d..f5839cf894 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -1,8 +1,8 @@ # How to build PMD -PMD uses [Maven](https://maven.apache.org/) and requires at least Java 10 for building. -You can get Java 10 from [Oracle](http://www.oracle.com/technetwork/java/javase/downloads/index.html) -or from the [OpenJDK Project](http://jdk.java.net). +PMD uses [Maven](https://maven.apache.org/) and requires at least Java 11 for building. +You can get Java 11 from [Oracle](http://www.oracle.com/technetwork/java/javase/downloads/index.html) +or from [AdoptOpenJdk](https://adoptopenjdk.net/). PMD uses the [maven wrapper](https://github.com/takari/maven-wrapper), so you can simply build PMD as following: @@ -16,7 +16,7 @@ This will create the zip files in the directory `pmd-dist/target`: That's all ! -**Note:** While Java 10 is required for building, running PMD only requires Java 7 (or Java 8 for Apex and the Designer). +**Note:** While Java 11 is required for building, running PMD only requires Java 7 (or Java 8 for Apex and the Designer). ## How to build the documentation? diff --git a/docs/pages/pmd/devdocs/building.md b/docs/pages/pmd/devdocs/building.md index c76ed1db04..0fcd7ce293 100644 --- a/docs/pages/pmd/devdocs/building.md +++ b/docs/pages/pmd/devdocs/building.md @@ -10,9 +10,9 @@ author: Tom Copeland, Xavier Le Vourch # Compiling PMD -* JDK 10 or higher +* JDK 11 or higher -{% include note.html content="While Java 10 is required for building, running PMD only requires Java 7 (or Java 8 for Apex and the Designer)." %} +{% include note.html content="While Java 11 is required for building, running PMD only requires Java 7 (or Java 8 for Apex and the Designer)." %} You’ll need to either check out the source code or download the latest source release. Assuming you’ve got the latest source release, unzip it to a directory: