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 !
10 Replies
JavaBot
JavaBotthis hour
This post has been reserved for your question.
Hey @Dev0Guy! Please use /close or the Close Post button 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.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
ayylmao123xdd
ayylmao123xddthis hour
can you send your pom
Dev0Guy
Dev0GuyOPthis hour
sure
ayylmao123xdd
ayylmao123xddthis hour
nice account creation date btw
Dev0Guy
Dev0GuyOPthis hour
ayylmao123xdd
ayylmao123xddthis hour
and what error do you get
Dev0Guy
Dev0GuyOPthis hour
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project learn-java: Fatal error compiling: error: release version 25 not supported -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project learn-java: Fatal error compiling: error: release version 25 not supported -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
ayylmao123xdd
ayylmao123xddthis hour
do you got jdk 25 installed in your ide or pc
Dev0Guy
Dev0GuyOPthis hour
Im using zed. And configure the language server to the java home
No description
Dev0Guy
Dev0GuyOPthis hour
the $JAVA_HOME is in sdk 25

Did you find this page helpful?