switching to jdk 7+