General Gatot Nurmantyo (L) shakes hands with Police Chief General Badrodin Haiti, after Nurmantyo was sworn in as the new armed forces chief, at the presidential palace in Jakarta (7/8). REUTERS/Darren Whiteside

Incoming Indonesian Military Chief General Gatot Nurmantyo (L) shakes hands with outgoing Military Chief General Moeldoko during the swearing-in ceremony at the presidential palace in Jakarta (7/8). ADEK BERRY/AFP/Getty Images

Indonesian President Joko Widodo (C) shakes hands with incoming Indonesian Military Chief General Gatot Nurmantyo (L) next to Indonesian Vice President Jusuf Kalla (R) during a swearing-in ceremony at the presidential palace in Jakarta (7/8). ADEK BERRY/AFP/Getty Images

Indonesia's new Armed Forces Chief Gen. Gatot Nurmantyo, left, salutes to Indonesian President Joko Widodo, right, after his swearing-in ceremony at the presidential palace in Jakarta (7/8). General Gatot Nurmantyo was sworn in as armed forces chief by President Joko Widodo at a ceremony in the capital Jakarta, and will replace General Moeldoko. AP/Achmad Ibrahim

Indonesia's new Armed Forces Chief Gen. Gatot Nurmantyo walks during his swearing-in ceremony at the presidential palace in Jakarta (7/8). General Gatot Nurmantyo was sworn in as armed forces chief by President Joko Widodo at a ceremony in the capital Jakarta, and will replace General Moeldoko. AP/Achmad Ibrahim

Indonesian General Gatot Nurmantyo is sworn in as the new armed forces chief by President Joko Widodo (unseen) at the presidential palace in Jakarta (7/8). General Gatot Nurmantyo replaces outgoing commander General Moeldoko who is retiring.REUTERS/Darren Whiteside