During the quake, panicked people ran out of buildings and Indonesian television showed heavy traffic on roads as people fled coastal areas.
A magnitude-6.5 natural disaster has struck off the coast of Java in Indonesia, the United States Geological Survey says, with authorities reporting at least one death and damage to buildings.
A strong natural disaster shook the Indonesian capital Friday night and other cities on the country's most populous island of Java, killing at least 1 person amid reports of more deaths and collapsed houses.
The tremor struck at a depth of about 57 miles, and a tsunami warning was issued by Indonesian authorities but not the Pacific Tsunami Warning Center.
H&M says to close more stores as customers go online
They fell another 15 percent on Friday to the lowest level since 2009, taking the year-to-date fall to a third. The retailer said that sales in its fourth quarter were "significantly below the company's own expectations".
People fled central Java amid fears that the quake would cause a tsunami.
The quake swayed buildings for several seconds in the capital, Jakarta.
Homes were also reported damaged in the city of Tasikmalaya, some 50 kilometres from the epicentre. Indonesian authorities reported a quake of similar magnitude offshore of Java.
Buildings had collapsed and were damaged in several cities and towns of central and western Java, Mr Nugroho said.