Jakarta:
A 6.7-magnitude earthquake struck off Indonesia's main island of Java on Thursday, the US Geological Survey said, but there were no immediate reports of damage and no tsunami warning was issued.
The quake struck at 11:47 pm (1647 GMT) at a depth of 11 kilometres (6.8 miles) in Indonesian waters some 170 kilometres east of Australia's Christmas Island, and 423 kilometres south of the Indonesian capital Jakarta.
The quake caused tall buildings in Jakarta to sway slightly.
The Indonesian Meteorology, Climatology and Geophysics Agency said there was no potential for a tsunami.
"There are no immediate reports of damage or casualties, but we know the quake was felt in several parts of Java," an agency spokesman told AFP. "There is no potential for a tsunami."
The Pacific Tsunami Warning Center did not issue an alert after the quake.
Indonesia sits on the Pacific "Ring of Fire" where continental plates collide, causing frequent seismic and volcanic activity.
A massive quake struck off Aceh in 2004, sparking a tsunami that killed 170,000 people in the province on Sumatra and tens of thousands more in countries around the Indian Ocean.