Official supported Java version? #49084
-
Hi, Is there a documentation where I can find the official supported Java version? quarkus create app --help
Create a Quarkus application project.
Usage: quarkus create app [-Beh] [--dry-run] [--refresh] [--[no-]
registry-client] [--verbose] [--config=CONFIG]
[--description=DESCRIPTION] [--name=NAME]
...
Options:
-B, --batch-mode Run in non-interactive (batch) mode.
...
Quarkus version:
...
Build tool (Maven):
...
Target language:
--java=<javaVersion> Target Java version.
Valid values: 17, 21
Default: <<detect java runtime version>>
... When I use Java 24 I've got some warnings at startup: quarkus dev
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by org.fusesource.jansi.internal.JansiLoader in an unnamed module (file:/Users/sphilipp/.m2/wrapper/dists/apache-maven-3.9.9-bin/33b4b2b4/apache-maven-3.9.9/lib/jansi-2.4.1.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper (file:/Users/sphilipp/.m2/wrapper/dists/apache-maven-3.9.9-bin/33b4b2b4/apache-maven-3.9.9/lib/guava-33.2.1-jre.jar)
WARNING: Please consider reporting this to the maintainers of class com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release So I'm wonder if Quarkus supports Java 24. I'm using Picocli and saw this issues: #48882 & #47769 And finally it's the reason why I want to know the "official" position 😉 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
From what I can see the two warnings are related to Maven. And we launch Maven from the CLI by running your typical Maven command line. You don't have the warnings when running plain Maven? |
Beta Was this translation helpful? Give feedback.
We officially support Java LTS releases but we will fix whatever is in the way of more recent versions.
And the Mandrel team is constantly testing the current GraalVM dev version.
Now that we have solved our CI bandwidth issue, we should probably run our usual CI tests also with the latest.