jdk as to be downloaded first, remove useless files