Software Development

Change Java Language Level in IntelliJ IDEA


This post shows how to change Java Language Level in IntelliJ IDEA.


Stuff used in this post.

  • IntelliJ IDEA Ultimate 2016.3
  • Java 8
  • Windows 10 Enterprise

Wrong Language Level Example

Consider the following screenshot. On line 26, the IDE provides a clue as to why forEach is not supported. The maven project is initially in Language Level 1.7 .


Change Language Level

To change the Language Level to 8,


  1. Right-click on the project comturretarxjava and choose Open Module Settings
  2. Choose the correct minimum Language Level  that supports Lambda expressions
  3. Click OK

Issue Fixed




Got comments or suggestions? We disabled the comments on this site to fight off spammers, but you can still contact us via our Facebook page!.

You Might Also Like