The Masjid Agung Demak (Great Demak Mosque), located in central Java, dates to the 1400s.  Photo credit.