Earlier in the day, North Korea had warned Japan the launch would take place before the end of the month, but it went ahead only hours later.