Japan's chief government spokesman said on Tuesday the country will put cyberattack countermeasures in place to make sure the Tokyo Olympics are a success.