EN
IntelliJ IDEA - java: invalid target release: 11
1
answers
7
points
Do you know what is the reason, why my Java application returns during compilation the following error:
java: invalid target release: 11
It appeard after migration from Java 11 to Java 9.
I have changed Language level to 8 in File -> Project Structure -> Modules.
1 answer
6
points
You should change your configuration to Java 8 (JDK 1.8 + Language level 8) in:
- File -> Project Structure -> Project,
- File -> Project Structure -> Modules,
- Sources tab
- Dependences tab
- File -> Settings -> Build, Execution, Deployment -> Compiler -> Java Compiler
0 comments
Add comment