Error:java: invalid source release: 8 in Intellij. What does it mean?

前端 未结 16 1006
旧时难觅i
旧时难觅i 2020-11-27 08:55

Im trying to compile some code in I\'m using Intellij Ultimate 13.1.4, but I get the following error and I have no idea what it means:

Information:Using java         


        
16条回答
  •  隐瞒了意图╮
    2020-11-27 09:45

    I was recently facing the same problem. This Error was showing on my screen after running my project main file. Error:java: invalid source release: 11 Follow the steps to resolve this error

    1. File->Project Structure -> Project
    2. Click New button under Project SDK: Add the latest SDK and Click OK.

    After running You will see error is resolved..

提交回复
热议问题