Landslides on Indonesia's heavily populated island of Java have killed at least five people and left 38 missing, an official at the country's disaster agency says.