Switched to JDK 1.7 with compliance for 1.6.