Prime Minister Shinzo Abe and Vietnamese President Tran Dai Quang have affirmed their commitment to peacefully resolving disputes in the South China Sea in line with international law, as Japan prepares to provide Hanoi with patrol ships to strengthen its maritime law enforcement capabilities.

Meeting on the sidelines of the Pacific Rim summit in Lima, Abe and Tran agreed to promote their domestic procedures to implement the Trans-Pacific Partnership, a 12-nation free trade agreement, according to Japan's Foreign Ministry.

Preparations are underway to provide the patrols ships promised to Vietnam in September, Abe told Quang.