From 489844f61b9be24756343759b5e5c34b35ff9cd8 Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 3 Feb 2025 22:19:38 +0100 Subject: [PATCH] Updated README.md to JDK21 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3d366c618..cad6bacba 100644 --- a/README.md +++ b/README.md @@ -15,17 +15,17 @@ Consider supporting our development by buying Iris on spigot! We work hard to ma ### Command Line Builds -1. Install [Java JDK 17](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html) +1. Install [Java JDK 21](https://www.oracle.com/java/technologies/javase/jdk21-archive-downloads.html) 2. Set the JDK installation path to `JAVA_HOME` as an environment variable. * Windows 1. Start > Type `env` and press Enter 2. Advanced > Environment Variables 3. Under System Variables, click `New...` 4. Variable Name: `JAVA_HOME` - 5. Variable Value: `C:\Program Files\Java\jdk-17.0.1` (verify this exists after installing java don't just copy + 5. Variable Value: `C:\Program Files\Java\jdk-21.0.1` (verify this exists after installing java don't just copy the example text) * MacOS - 1. Run `/usr/libexec/java_home -V` and look for Java 17 + 1. Run `/usr/libexec/java_home -V` and look for Java 21 2. Run `sudo nano ~/.zshenv` 3. Add `export JAVA_HOME=$(/usr/libexec/java_home)` as a new line 4. Use `CTRL + X`, then Press `Y`, Then `ENTER` @@ -35,7 +35,7 @@ Consider supporting our development by buying Iris on spigot! We work hard to ma ### IDE Builds (for development) -* Configure ITJ Gradle to use JDK 17 (in settings, search for gradle) +* Configure ITJ Gradle to use JDK 21 (in settings, search for gradle) * Add a build line in the build.gradle for your own build task to directly compile Iris into your plugins folder if you prefer. * Resync the project & run your newly created task (under the development folder in gradle tasks!)