Test for direct JDK7 config