Set maven-compiler-plugin <source>, <target> to 1.7 in pom.xml, it will
use platform independent compiler and JRE library.