Turkish President Recep Tayyip Erdoğan on Saturday warned Greece to enter talks over disputed eastern Mediterranean territorial claims or face the consequences.
"They're either going to understand the language of politics and diplomacy, or in the field with painful experiences," he said at a hospital's opening ceremony in Istanbul.
Ankara is currently facing off against Greece and Southern Cyprus over oil and gas exploration rights in the eastern Mediterranean. All sides have deployed naval and air forces to assert their competing claims in the region.
"They are going to understand that Turkey has the political, economic and military power to tear up the immoral maps and documents imposed by others," Erdoğan added, referring to areas marked by Greece and Southern Cyprus as their economic maritime zones.
He stressed that Turkey was "ready for every eventuality and result."
The president's comments come after NATO said military officers from Greece and Turkey had begun technical discussions to reduce the risk of armed conflict or accidents.
The two NATO allies have been locked for weeks in a tense standoff in the eastern Mediterranean, where Turkey is prospecting the seabed for energy reserves in an area Greece claims as its own continental shelf.
Ankara says it has every right to prospect there and accuses Athens of trying to grab an unfair share of maritime resources.
Erdoğan said Turkey had repeatedly expressed its willingness to come to a just agreement.
"Our word is sincere," he said. "The problem is those before us disregard our rights and try to situate themselves above us."
The recent crisis is the most serious in Turkish-Greek relations in decades. The neighbors have come to the brink of war three times since the mid-1970s, including once over maritime resources in the Aegean.
Earlier, Ankara announced joint military exercises with northern Cypriot forces from Sunday to Sept. 10. The air, land and sea drills are held every year.