Remove unused java packages