support jdk 6