convert to jdk7