jdk 6 only