The Latest: Ex-general vying for Indonesia president votes

The Latest on Indonesia's presidential and legislative elections (all times local):

8:30 a.m.

President candidate Prabowo Subianto has voted in Indonesia's presidential and legislative elections and says he confident of winning despite polls showing that he trails President Joko Widodo by up to 20 percentage points.

After voting, Subianto, a former special forces general, echoed his campaign themes of a weak Indonesia at risk of disintegration.

Speaking in English, he said "I promised that we will work for the good of the country. If it's chaos or not it's not coming from us, but I guarantee that we don't want to be cheated anymore, that Indonesian people don't want to be cheated anymore."

___

7 a.m.

Voting is underway in presidential and legislative elections in Indonesia, the world's third-biggest democracy, after a campaign that pitted the moderate incumbent against an ultranationalist former general.

The first votes were cast in easternmost provinces after polling booths opened at 7 a.m. followed an hour later by central regions such as Bali and then the capital Jakarta and western provinces. Indonesia, a sprawling archipelago of 17,000 islands, has three time zones.

About 193 million people are eligible to vote in polls that will decide who leads the world's most populous Muslim-majority nation. The campaign pit President Joko Widodo against Prabowo Subianto, a former general from the Suharto military dictatorship era.