fix script  path to jdk
delete useless part of script