When I compile a Java project using IntelliJ IDEA, it gives me the following output (and error):
Information:Eclipse compiler 4.6.2 was used to compile java
For me the module's target bytecode version was set to 5. I changed it to 8 and the error is gone: