[Solved] Maven: release version 25 not supported (Java 21+)
The Maven error “release version 25 not supported” (or 21, 27) means the JDK that runs javac is older than maven.compiler.release. Learn how to check it with mvn -v and fix it with JAVA_HOME, toolchains, IntelliJ IDEA, GitHub Actions, Docker or Gradle, plus the maven-compiler-plugin setup for Java 21 and 25.
