diff --git a/.appveyor.yml b/.appveyor.yml
index d8efac6101..c90688d6f7 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -7,7 +7,8 @@ install:
curl -LsS "http://www.apache.org/dyn/closer.cgi?action=download&filename=maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip" > apache-maven-3.3.9-bin.zip &&
unzip apache-maven-3.3.9-bin.zip -d C:\Users\appveyor
)
- - SET PATH=C:\Users\appveyor\apache-maven-3.3.9\bin;%PATH%
+ - SET JAVA_HOME=C:\Program Files\Java\jdk11
+ - SET PATH=C:\Users\appveyor\apache-maven-3.3.9\bin;%JAVA_HOME%;%PATH%
build_script:
# Maven 3.3.9 requires Java >= 7, but generation of Javadocs requires Java <= 6 (https://github.com/jacoco/jacoco/issues/110)
diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml
index 37d4d9ba85..59ec28779f 100644
--- a/.azure-pipelines/azure-pipelines.yml
+++ b/.azure-pipelines/azure-pipelines.yml
@@ -78,7 +78,7 @@ jobs:
tar -xzf .maven/maven.tar.gz -C .maven --strip-components 1
displayName: Setup Maven
- bash: |
- if [[ "$JDK_VERSION" -ge "8" ]]; then
+ if [[ "$JDK_VERSION" -ge "11" ]]; then
export JAVA_HOME=$PWD/.jdk
fi
if [[ "$BUILD_SOURCEBRANCH" == "refs/heads/master" && "$JDK_VERSION" == "5" ]]; then
diff --git a/org.jacoco.build/pom.xml b/org.jacoco.build/pom.xml
index 328a7d989c..15ba07da1f 100644
--- a/org.jacoco.build/pom.xml
+++ b/org.jacoco.build/pom.xml
@@ -531,7 +531,7 @@
Build
The JaCoCo build is based on Maven and
can be locally executed on every machine with a proper
environment setup. In particular you need at
- least Maven 3.3.9 and JDK 8
+ least Maven 3.3.9 and JDK 11
installations. Developers are encouraged to run the build before every commit
to ensure consistency of the source tree.
The JaCoCo build is based on Maven - and requires at least Maven 3.3.9 and JDK 8. + and requires at least Maven 3.3.9 and JDK 11. See the build description for details.