Switched to Java 7 on request of @Jeromsar