Java “lambda expressions not supported at this language level”
2017-09-18 22:06
573 查看
IDEA中需要设置如下:
首先确保JDK8,
0.File Menu → Project Structure →SDKs
1.File->Settings->Java Compiler中,Per-module bytecode version->target bytecode version,设为1.8
2.File Menu → Project Structure → Project, change Project Language Level to 8.0 - Lambdas, type annotations etc.
3.File Menu → Project Structure → Modules, sources change Language Level to 8.0 - Lambdas, type annotations etc.
首先确保JDK8,
0.File Menu → Project Structure →SDKs
1.File->Settings->Java Compiler中,Per-module bytecode version->target bytecode version,设为1.8
2.File Menu → Project Structure → Project, change Project Language Level to 8.0 - Lambdas, type annotations etc.
3.File Menu → Project Structure → Modules, sources change Language Level to 8.0 - Lambdas, type annotations etc.
相关文章推荐
- java "lambda expressions not supported at this language level"
- 解决lambda expressions are not supported at this language level的问题
- 【lamdba表达式】lambda expressions are not supported at this language level
- lambda expressions are not supported at this language level
- lambda expressions are not supported at this language level(需设置project language level)
- lambda expressions are not supported at this language level
- lambda expressions are not supported at this language level解决方法
- lambda expressions are not supported at this language level intellij
- Lambda学习、配置以及lambda expressions are not supported at this language level
- lambda expressions not supported at this language level & Android Studio支持lambda,
- lambda expressions not supported at this language level
- lambda expressions are not supported at this language level
- lambda expressions are not supported at this language level错误
- Lambda expressions are not supported at this language level
- lambda expressions are not supported at this language level
- lambda expressions are not supported at this language level
- lambda expression are not supported at this language level (Android Studio中使用lambda表达式)
- Lambda expressions are not supported at language level '1.6
- 【IntelliJ IDEA】lambda expressions are not supported at language level x.x
- diamond types are not supported at this language level