WASHINGTON, DC - MAY 12: Flanked by Sultan of Brunei Haji Hassanal Bolkiah (L) and President of Indonesia Joko Widodo (R), U.S. President Joe Biden reacts to a reporters question about the baby formula shortage during a family photo for the U.S.-ASEAN Special Summit on the South Lawn of the White House on May 12, 2022 in Washington, DC. Southeast Asian Leaders from the Association of Southeast Asian Nations (ASEAN) are visiting Washington, DC for a special summit hosted by U.S. President Joe Biden. (Photo bIndonesian President Joko Widodo, here seen standing to the left of U.S. President Joe Biden during a summit meeting of Southeast Asian leaders at the White House in May, hinted that he may try to launch a peace initiative during his upcoming visit to Europe.

The war in Ukraine is putting developing nations like Indonesia at risk, as it is driving up food and energy prices, according to Indonesia's president.

The food price is important to me. In an exclusive interview with CNBC in Serang city in Banten province, the President said that he wanted the war in Ukraine to be stopped so that the economy could be focused.

This is dangerous for developing countries if it isn't stopped.

The war should be solved through negotiation and dialogue according to Jokowi.

Germany invited the Indonesian leader to attend the meeting of the Group of 7 advanced economies. According to Tass, Jokowi will be meeting Putin on June 30.

I will visit several countries that are related to the food issue after the G-7, he said. Russia andUkraine are among the world's largest producers and exporters of food grain.

There’s a problem here and the problem is war. In G-20, we also need to invite Ukraine so that we can resolve the problem.

The United States and China are engaged in a fight for dominance in Southeast Asia.

Indonesia was a close friend of both the U.S. and China, according to Jokowi.

The Indonesian president said that Indonesia has good relations with both the US and China.

We want this region to be peaceful so that we can build our country and have better economic growth. Rivalry, let alone war, will not be beneficial for any country.

According to the State Department, the U.S. and Indonesia's bilateral trade in goods and services was more than $37 billion in 2011.

According to Chinese customs data, China is Indonesia's largest trading partner, with trade estimated at $124.34 billion in 2021.

The Quad strategic alliance or the AUKUS nuclear and security deal that Australia signed with the UK and the U.S. last year could anger China.

We want this region to be peaceful so that we can grow our economy. War will not benefit any country.

Following Australia's decision to acquire nuclear-powered submarines under the AUKUS deal, Indonesia said it was "deeply concerned" about the "continued arms race and power projection in the region."

Jokowi was asked if Indonesia's relationship with Australia soured as a result of AUKUS, to which he replied "most importantly, we want Indonesia and Australia to have a better relationship in the future."

He hoped that the relationship between the two countries could improve under the leadership of Anthony Albanese.

Both of us want our relationship to be better. The president said that the goal was to be open so that goods from Australia could enter Indonesia.

It's a very good relationship.

CNBC had a contributor to the report.