force jdk7 compat.