Maj. Hamdi Londong, spokesman for the Abdul Rahman Saleh air force base, says the plane was on a routine training flight Wednesday when it came down close to the base, located in Malang, a hilly town in East Java province.
Londong says the two pilots in the Brazilian-made Embraer EMB 314 Super Tucano light attack plane died instantly and a woman living in the house was rushed to a hospital in critical condition.
He says the cause of the crash is being investigated.
Malang is 850 kilometers (528 miles) east of the capital, Jakarta.