A strong earthquake shook several small islands off Japan's southern coast on Sunday, rattling buildings over 100 miles away in Taiwan and causing officials to temporarily issue a tsunami warning.

There were no immediate reports of damage or casualties.

Japan's Meteorological Agency said the earthquake hit at 3:10 p.m. and registered magnitude 6.6. The U.S. Geological Survey measured it at 6.4.

Japanese officials immediately issued a warning for a tsunami about 1.6 feet high, but removed the warning about an hour later.

The quake was also felt in Taiwan, about 155 miles to the east, where residents in Taipei could feel buildings shake.

The quake hit 69 miles off the southern coast of Miyakojima island, in southern Japan, at a depth of six miles, the Meteorological Agency said.

The small island is about 1,120 miles southwest of Tokyo.

Japan is one of the world's most earthquake-prone countries. In 1995, a magnitude-7.2 quake in the western port city of Kobe killed 6,400 people.