Japanese authorities have issued an emergency alert saying North Korea has launched a suspected ballistic missile.