README: Gradle must run on at least Java 16, or else it couldn't find the JDK 16 toolchain.
diff --git a/README.md b/README.md
index 842aaa5..60fa733 100644
--- a/README.md
+++ b/README.md
@@ -109,6 +109,9 @@
You need JDK 8 and JDK 16 to be installed
(and [visible to Gradle](https://docs.gradle.org/current/userguide/toolchains.html)).
+Be sure that your default Java version (which Gradle should use automatically) is at
+least 16!
+
To build `freemarker.jar`, just issue `./gradlew jar` in the project root directory,
and it should download all dependencies automatically and build `freemarker.jar`.
@@ -123,6 +126,7 @@
See `gradle.properties` for some Gradle properties that you may what to set,
especially if you are building a release.
+
IDE setup
---------
@@ -202,7 +206,7 @@
- "File" -> "Open": Select the "settings.gradle.kts" within the freemarker root directory.
- If the project fails to load (or build), then adjust the following configuration
in "File" -> "Settings" -> "Build, Execution, Deployment" -> "Build Tools" -> "Gradle":
- - Gradle JVM: JDK 8+
+ - Gradle JVM: JDK 16 (or higher)
- Build and run using: "Gradle"
- Run tests using: "Gradle"