Remove some useless packages / java