Maven With Java 25
Hello everyone!
Im starting to learn java. I tried to configure maven to work with maven.compiler.release to be 25. However I keep getting errors.
Any way one can provide example of pom file with java25?
Thanks in advance !
22 Replies
⌛ This post has been reserved for your question.
Hey @Dev0Guy! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
can you send your pom
sure
nice account creation date btw
and what error do you get
do you got jdk 25 installed
in your ide or pc
Im using zed. And configure the language server to the java home

the
$JAVA_HOME is in sdk 25hmm
do you know if other java versions work
maybe the ide doesnt see the new jdk
@dan1st | Daniel can u check
java version 25 not supported
Hi, try to update the compiler plugin to version 3.14.1. I'm just upgrading my project to Java 25 and I'm able to build it without issues. Make sure you are executing Maven with Java 25. Check settings.xml
now I get build fail
Post a log from the failed build here...
full logs @stechy1
they are using a JDK before JDK 25 to compile a project with
<release>25</release>
mvn -v should show which Java version Maven runs withthat error is because the directory you are in when executing Maven doesn't have a pom.xml
make sure to execute the Maven command in the right directory
ls should include the pom.xmlThank you. I feel so imbursement
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.
Post Closed
This post has been closed by <@165490902989668353>.