Platform Setting JDK shows Broken Mark - !
Answered
I m using JDK14 and IntelliJ Community Edition 2020.2, Everything runs fine but the JDK in my project and platform SDK show an exclamation mark " ! " , as u can see in the picture. I dint have any problem compiling or running projects.Why does it show such ( ! ) mark beside JDK ?
My second question is I have simple Two Projects in maven build. One project runs fine. Another Maven project gives this error - "java: error: release version 5 not supported" . I dont know why one is working, the other one not. My project bycode version is set to 15 and Target bytecode version is set to 1.5 . I m using JDK jdk-14.0.1.

Please sign in to leave a comment.
Hello,
>Why does it show such ( ! ) mark beside JDK ?
IntelliJ Platform's internal file system uses exclamation mark as a separator between path to a JAR file and path to an entry inside the JAR file.
>Another Maven project gives this error - "java: error: release version 5 not supported"
When you use Maven as your build tool, IntelliJ IDEA takes almost all project settings directly from the pom.xml. So if something is not specified in the pom, it won't make it to the project.
In order to bypass the error, you need to add the <source> and <target> Maven compiler options to your pom (as per this article). If they are not specified explicitly, the default value of 1.5 is used - which is why you see the reference to the "release version 5" in the error message.
thank u, is the "Project language Level" setting in IntelliJ actually set the <source> value in apache maven? Is there any way we can set the <target> in IntelliJ setting (not in maven).
This is a Maven specific issue. To make it work, we need to change the pom.xml file. Please read the corresponding manual to find out how to fix such problems https://www.jetbrains.com/help/idea/troubleshooting-common-maven-issues.html .