问题
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