When running a JUnit test, using IntelliJ IDEA, I get
How can I correc
I've found required options ('target bytecode version') in settings > compiler > java compiler in my case (intelij idea 12.1.3)