Java 25 Setup
Java 25 LTS is the minimum version and the development and runtime baseline. Eclipse Temurin 25 is the preferred distribution. Older runtimes are not supported.
Requirements
- Set
JAVA_HOMEto the installed JDK 25. - Use Gradle 9.1 or newer, the first versions that support Java 25 for toolchains and for running Gradle.
- Compile with release 25. Preview features are not used.
Using another JDK 25
The build expects Temurin. For a deliberate local check with another JDK 25 distribution, pass the override to both the SDK build and your plugin build:
gradle --offline --no-daemon build -PzernythJavaVendor=anyThis does not lower the minimum version, and it does not replace a test on Temurin.
Typical error
UnsupportedClassVersionError means the runtime is older than the plugin's target. The runtime must be Java 25 or newer.