java: Cannot start javac process
I'm using IntelliJ and when I try to build my Spring Boot project shows this message.
java: Cannot start javac process for loans: it is configured to use JDK 0, but IDE supports compilation using JDK 7 and newer only.
Consider associating the module with a supported JDK version. Note, that it is possible to keep the current Java language level to make produced *.class files compatible with Java 20 even when they are compiled by a newer compiler version.
On module settings is configured to use jdk-25, but on the console show that is configured to use JDK 0
Obs.: on pom.xml I'm using
<properties> <java.version>25</java.version> </properties>
<properties> <java.version>25</java.version> </properties>
9 Replies
⌛ This post has been reserved for your question.
Hey @fabiocamacho933! 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.
oh yea
what did you set in project settings
is it java 25

💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.forgot to reply
change your language level to sdk default
and also you might need to update intellij if you havent
mine didnt work cuz it was running an old version and it wasnt recognizing jdk 25 too
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.i searched and i just deleted .idea folder and restarted the IDE.
but thank you so much
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 <@909986178105770055>.