Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (10.2k points)

I was testing out some new features of Java 8 and copied the example into my IDE (Eclipse originally, then IntelliJ) as shown here

Eclipse offered no support whatsoever for lambda expressions, and IntelliJ kept reporting an error

Lambda expressions not supported at this language level

I would like to know if this is a problem with my install, the code, or support.

1 Answer

0 votes
by (46k points)

You should change source code Language Level also on the Source tab (Modules part).

Change Language Level

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...