From 4100d6c12588279d6965d46f263252e9d239b9cc Mon Sep 17 00:00:00 2001 From: Aaron Date: Sat, 7 Feb 2026 18:46:44 +0100 Subject: [PATCH] chore: update Velocity Java requirement in dev --- .../docs/velocity/admin/getting-started/getting-started.md | 2 +- .../dev/getting-started/creating-your-first-plugin.mdx | 4 ++-- .../docs/velocity/dev/how-to/porting-from-velocity-1.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/content/docs/velocity/admin/getting-started/getting-started.md b/src/content/docs/velocity/admin/getting-started/getting-started.md index a32809812..21f81ce9c 100644 --- a/src/content/docs/velocity/admin/getting-started/getting-started.md +++ b/src/content/docs/velocity/admin/getting-started/getting-started.md @@ -9,7 +9,7 @@ This page covers how to install and set up a minimal configuration of Velocity. ## Installing Java Velocity is written in Java, so if you do not already have Java installed, you will need to install -it before you continue. Velocity requires at least Java 17, however it works best with 21 or above. +it before you continue. Velocity requires at least Java 21. See our [Java installation guide](/misc/java-install) for detailed instructions. ## Downloading Velocity diff --git a/src/content/docs/velocity/dev/getting-started/creating-your-first-plugin.mdx b/src/content/docs/velocity/dev/getting-started/creating-your-first-plugin.mdx index d7885bfa5..f9f35b9e3 100644 --- a/src/content/docs/velocity/dev/getting-started/creating-your-first-plugin.mdx +++ b/src/content/docs/velocity/dev/getting-started/creating-your-first-plugin.mdx @@ -25,7 +25,7 @@ IDEA is recommended. - Open your IDE - Click `Create New Project` or the equivalent - Select either `Gradle` or `Maven` -- Make sure your **Project JDK** is Java 17 or later +- Make sure your **Project JDK** is Java 21 or later - **Finish** the dialog and open the project. Now we have created our project, we need configure our build system. @@ -222,7 +222,7 @@ You will be asked to provide some information about your project. | **Group ID** | The group ID of your project. This is used for Maven and Gradle. This is usually your domain name in reverse. If you don't know what you should put here, you can use something like `io.github.` or if you don't have GitHub you can just use `me.`. | | **Artifact ID** | The artifact ID of your project. This is used for Maven and Gradle. This is usually the name of your project. This is usually the same as the `Name` field. | | **Version** | The version of your project. This is used for Maven and Gradle. This is usually `1.0-SNAPSHOT` and does not really matter for now. | -| **JDK** | The JDK you want to use. This can be anything from Java 17 and above. | +| **JDK** | The JDK you want to use. This can be anything from Java 21 and above. | Now you can click on the `Create` button and IntelliJ will create the project for you. If everything went well, you should see something like this: diff --git a/src/content/docs/velocity/dev/how-to/porting-from-velocity-1.md b/src/content/docs/velocity/dev/how-to/porting-from-velocity-1.md index 9b6f77b00..38da0efcc 100644 --- a/src/content/docs/velocity/dev/how-to/porting-from-velocity-1.md +++ b/src/content/docs/velocity/dev/how-to/porting-from-velocity-1.md @@ -9,7 +9,7 @@ document very carefully**. ## Minimum supported Java version bump -Velocity 3.3.x and above now requires Java 17 and above. +Velocity 3.5.x and above now requires Java 21 and above. ## Removal of legacy dependencies