Changed Java compiler and JRE to Java 1.7.
Source still compatible with Java 1.6.