简体   繁体   中英

Intellij idea libgdx java lambda expressions are not supported in source

Answers at stackoverflow:

1) Solution: "In File Menu → Project Structure → Project, change Project Language Level to 8.0 - Lambdas, type annotations etc" is not working.

2) Also: "change source code Language Level also on the Source tab (Modules part)" not working too.

Still the same error.

After program restart 1) and 2) resets to default and its not 1.8.

3) "add something in POM file" - i have no any POM file.

So what should i do for using lambda in intellij idea? Any ideas?

Check if SDK is pointed to JAVA 8 and above

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM