Serbia's Novak Djokovic was forced to retire injured in the Wimbledon semifinal match against Rafael Nadal of Spain.