IntelliJ IDEA 13 uses Java 1.5 despite setting to 1.7

后端 未结 13 900
我在风中等你
我在风中等你 2020-12-04 07:40

Despite specifying JDK 1.7 in all project settings (including in File -> Project Structure -> Project :: Project SDK), the following error is produced by

13条回答
  •  感情败类
    2020-12-04 08:24

    I managed to fix this by changing settings for new projects:

    1. File -> New Projects Settings -> Settings for New Projects -> Java Compiler -> Set the version

    2. File -> New Projects Settings -> Structure for New Projects -> Project -> Set Project SDK + set language level

    3. Remove the projects

    4. Import the projects

提交回复
热议问题