Removed checks for Java 5 as Groovy now requires at least Java 6.