A strong earthquake caused tall buildings to sway in Indonesia's capital Jakarta.
There were no immediate reports of damage or casualties.
Indonesia's Meteorology and Geophysics Agency put the preliminary magnitude of the tremor at 6.1. It hit 75 miles south-west of West Java province's coast at a depth of around 15 miles.
Indonesia has frequent earthquakes due to its location on the Pacific Ring of Fire, an arc of volcanoes and fault lines encircling the Pacific Basin.