Using IntelliJ to compile Java 7, configuration trouble

女生的网名这么多〃 提交于 2019-12-11 00:08:31

问题


I am playing with IntelliJ and trying to get it to work with Java 7.

My JDK is set up to point to latest JDK

Additionally, project is set to use it as well

Yet, when trying to write Java7 code, it's syntax is not being recognized.

What am i missing please?


回答1:


Set the Project Language Level to 7.0. Reload the project when asked:



来源:https://stackoverflow.com/questions/12699321/using-intellij-to-compile-java-7-configuration-trouble

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!