removing jdk and updating of gem