fix Java6 download error