support java6