removing either as it does not cross compile in java