support jdk6