Skip to content
David Gerber edited this page Dec 16, 2025 · 4 revisions

Installing Java

Xeres uses JDK 25. It has been tested with GraalVM and it is recommended if you want to have full speed JS scripting execution.

Download GraalVM

Do not use Zulu because its integrated JavaFX has compatibility problems.

Updating major Java version

First, consider sticking to LTS unless there's a very desired feature or an important bug fix. There's often a gap between no support of a non-LTS version and Gradle not supporting the newer one yet.

  • make sure there's a GraalVM release (https://graalvm.org)
  • make sure IntelliJ supports it (https://www.jetbrains.com/help/idea/supported-java-versions.html)
  • make sure Gradle supports it (without using toolchains)
  • download the latest GraalVM release in IntelliJ (Oracle GraalVM recommended, but Community Edition is fine, too)
  • switch the project SDK to it
  • change the sourceCompatibility in the root build.gradle
  • run all tests and make a dry run
  • change the java version in .github/workflows
  • change the java references in the root README and in that wiki

Clone this wiki locally