Removing java directories