A magnitude-5.7 earthquake jolted Java, Indonesia on Thursday, the Indonesian meteorological, climatological and geophysical agency BMKG said, with no casualties or damage reported.