Japanese Prime Minister Shinzo Abe says he and Russian President Vladimir Putin are determined to end the territorial dispute.