change to jdk7 as it is backward compatible