Japan is building up its military to meet the growing challenges it sees to national security and its vision of international order. To promote its interests while keeping dangers of confrontation at bay, it should divide its energies between deterrence and diplomacy.