North Korea says a nuclear war on the Korean Peninsula has become a matter of when, not if, as it continued to lash out at a massive joint military exercise between the United States and South Korean involving hundreds of advanced warplanes.