"That's the latest information, the number could go up," Hisar Turnip of the Basarnas agency told Reuters.
Military spokesman Fuad Basya said that 12 personnel, including the pilot, had been aboard the C-130 Hercules. The bodies of five of them had been found.
Local television showed a neighborhood of houses and hotels in flames and black smoke billowing from the area.