delete java tool some unnecessary code