delete jdk and rebuild for another environment