A screen grab from YouTube

At least two people were killed and seven others were injured after a strong 6.5 magnitude earthquake hit Indonesia's Java Island late on Friday, the authorities said. The United States Geological Survey said that the quake was centered in Cipatujah, in the western part of Java at a depth of 91.9 km (about 57 miles).

The authorities said that the tremors of the quake that struck at 11:47 pm were also felt in the cities of Bandung, more than 63.5 miles away (102.1 km) and Yogyakarta, more than 211 miles away (339.9 km). Reports said the powerful tremors lasted as much as 30 seconds in places.

Many people were seen running out of their houses in many areas and roads were clogged with motorbikes, cars and trucks as people fled coastal areas in fear of a tsunami.

The Indonesian Meteorological and Geophysics Agency has issued tsunami warnings for regions off the southern coast of Java Island's West Java province, Central Java province and Yogyakarta Special Region.

National Disaster Mitigation Agency spokesman Sutopo Purwo Nugroho said that a 80-year-old and a 62-year-old man were killed in building collapses. He added that more than 40 houses collapsed and about 65 suffered severe damage.

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.