switching to Java 1.7 for source because of revalidate() usage