Removing java dependencies