updating JDK detection to reflect support for Java 7 in 1.9