A 6.5 magnitude earthquake struck in the sea to the north of Indonesia's Java island on Wednesday morning, the United States Geological Survey (USGS) said.
USGS reported that the quake was recorded 120 km north-east of Subang, West Java, at 7.25 am local time.
The National Disaster Management Agency (BNPB) of Indonesia said the tremors were felt for up to eight seconds in some areas in northern Banten, West Java and Jakarta. But according to the authorities, there were no reports of any immediate casualties and property damage.
Sutopo Purwo Nugroho, BNPB spokesman, said the epicentre of the quake was quite deep and it was recorded at 654 km below the sea floor. The depth helped in minimising the impact of the earthquake.
"But people must still be prepared for an earthquake, which could occur anytime," Nugroho added.
Indonesia is positioned on the highly seismically active zone "Pacific Ring of Fire", which is known for collision of tectonic plates, and hence it experiences frequent earthquakes.