China's defense ministry urged Japan on Thursday to stop "stirring up trouble" over the South China Sea.