Survival of water ice in Jupiter Trojans