While China has nuclear weapons and more soldiers, Japan’s military is better equipped in some areas (and obviously has the technological capacity to develop nuclear weapons very quickly). Moreover, Japan’s culture (both traditional and popular), overseas development assistance, and support of international institutions are impressive sources of soft power.