piranhacloud / piranha-guides

Repository containing the sources behind our guides for everything Piranha
2 stars 0 forks source link

Update to Java 21 #55

Closed mnriem closed 1 year ago

gmuth commented 1 year ago

The builder image ghcr.io/graalvm/graalvm-ce:22 used in embedded/graalvm does not support Java 21. GraalVM supports Java 21

mnriem commented 1 year ago

Thanks for checking, reopening the issue.

gmuth commented 1 year ago
 $ docker build -t graalvm -f Dockerfile .

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.530 s
[INFO] Finished at: 2023-10-14T11:30:57Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project graalvm:
Fatal error compiling: error: release version 21 not supported -> [Help 1]