Democratically governed Taiwan, which China views as its own territory, has repeatedly complained of stepped-up Chinese military activity, including drills this week off the island's southwestern coast that Beijing said were "routine".
On Thursday, China's defence ministry, asked about Taiwan's annual Han Kuang military exercises later in 2025, said Taiwan was "like a mantis trying to stop a chariot" and "sooner or later we will take you back".
Taiwan's defence ministry said China had recently been escalating its military threats in the region, destroying the status quo of regional stability, and has become the biggest "troublemaker" in the international community.
"This year marks the 80th anniversary of (the end of) World War II, and history has proven that any form of aggression and expansion will end in failure," it said.
"The actions of the Communist military in recent years are repeating the mistakes of the invaders and pushing China towards defeat."
Taiwan's military is strengthening its forces to safeguard sovereignty, ensure freedom and democracy, and collaborate to maintain security and stability in the region, the ministry added.
Taiwan's government rejects Beijing's sovereignty claims, saying only the Taiwanese people can decide their future.
World War II, and the full-scale Japanese invasion of China in 1937 that preceded the start of the world war in 1939, is a touchy historical subject in both China and Taiwan.
The Chinese government at the time was the Republic of China and its forces did much of the fighting against Japan.
The republican government fled to Taiwan in 1949 after losing a war with Mao Zedong's Communists, and Beijing today largely plays down the role of the republican forces.
Taiwan was a Japanese colony during the war, and some Taiwanese fought on the side of the Japanese army.
Speaking at a separate event in Taipei to mark a 1947 uprising against Chinese republican troops in Taiwan, President Lai Ching-te said China had not given up its attempts to take Taiwan by force.
"The greatest threat to Taiwan's sovereignty, Taiwan's democracy and Taiwan's people being their own master, comes from China," he said.