The quake struck at a depth of 91 km just outside the coastal town of Cipatujah on Java island late Friday, the US Geological Survey said.
The tremor was felt across the island including in the capital Jakarta, some 300 km from the epicentre.
Also Read
"Several hospitals in several areas have also been damaged and patients had to be evacuated," Nugroho said.
A hospital in Banyumas suffered damaged ceilings, cracked walls and leaks to oxygen pipelines, forcing about 70 patients to be moved to temporary shelters.
At least a hundred houses were damaged across West Java and Central Java provinces, the national disaster mitigation agency said.
The agency was still evaluating the impact of the disaster and urged people to be cautious and stay alert.
Jakarta resident Web Warouw, 50, was on the 18th floor of a building in the capital when the quake struck just before midnight local time (1700 GMT).
"Suddenly, we felt dizzy... We then realised it was a quake and immediately ran downstairs," Warouw told AFP.
Indonesia experiences frequent seismic and volcanic activity due to its position on the Pacific "Ring of Fire", where tectonic plates collide.
Some 170,000 lives were lost when a 9.1-magnitude quake and tsunami struck Aceh in December 2004, which also hit coastal areas as far away as Somalia.
An earthquake struck the country's western Aceh province again in December 2016, killing more than 100 people, injuring many more and leaving tens of thousands homeless.
You’ve reached your limit of {{free_limit}} free articles this month.
Subscribe now for unlimited access.
Already subscribed? Log in
Subscribe to read the full story →
Smart Quarterly
₹900
3 Months
₹300/Month
Smart Essential
₹2,700
1 Year
₹225/Month
Super Saver
₹3,900
2 Years
₹162/Month
Renews automatically, cancel anytime
Here’s what’s included in our digital subscription plans
Exclusive premium stories online
Over 30 premium stories daily, handpicked by our editors


Complimentary Access to The New York Times
News, Games, Cooking, Audio, Wirecutter & The Athletic
Business Standard Epaper
Digital replica of our daily newspaper — with options to read, save, and share


Curated Newsletters
Insights on markets, finance, politics, tech, and more delivered to your inbox
Market Analysis & Investment Insights
In-depth market analysis & insights with access to The Smart Investor


Archives
Repository of articles and publications dating back to 1997
Ad-free Reading
Uninterrupted reading experience with no advertisements


Seamless Access Across All Devices
Access Business Standard across devices — mobile, tablet, or PC, via web or app
)