JAKARTA - Japanese and South Korean foreign ministers on Thursday reaffirmed close cooperation in dealing with the North Korean military threat, condemning its firing of an intercontinental ballistic missile the day before, the government said.