I\'m running a Java Maven project on IntelliJ, and I make sure that this project will be compiled by Java 1.8.
I set JRE to version 8 in Run/Debug Configuration
Look in Build Execution, Deployment > Compiler > Java Compiler
Then look for per module bytecode version