Intellij: javac: source release 1.7 requires target release 1.7

Problem: javac: source release 1.7 requires target release 1.7

Solution: In IntelliJ 13 and 14, check the Settings > Compiler > Java Compiler UI to ensure you're not targeting a different bytecode version in your module.



Happy BDDing :P

Comments

Popular posts from this blog

Software Testing @ Microsoft

Trim / Remove spaces in Xpath?