使用IntelliJ编译Java 7,配置麻烦 [英] Using IntelliJ to compile Java 7, configuration trouble

查看:133
本文介绍了使用IntelliJ编译Java 7,配置麻烦的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用IntelliJ并试图让它与Java 7一起使用。

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

我的JDK设置为指向最新的JDK

My JDK is set up to point to latest JDK

此外,项目也设置为使用它

Additionally, project is set to use it as well

然而,当尝试编写Java7代码时,它的语法无法被识别。

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

我缺少什么?

推荐答案

项目语言水平设置为 7.0 。当被问到时重新加载项目:

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

这篇关于使用IntelliJ编译Java 7,配置麻烦的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆