TAIPEI, Taiwan (AP) _ A 6.1-magnitude earthquake struck off the coast of Taiwan on Friday, rocking buildings in the capital but causing no damage or casualties, the Central Weather Bureau said.

The quake's epicenter was located about 90 miles southeast of Taipei, the bureau said. Japan's Meteorological Agency said there was no threat of a tsunami.

The quake was also felt in the Yonaguni islands in southwestern Japan, but there were no reports of damage or injuries there either, officials said.

Taiwan's weather bureau warned against aftershocks, but said they were not expected to cause any damage because of the epicenter's distance from the island.

Quakes frequently rattle Taiwan, but most are minor and cause little or no damage. However, a 7.6-magnitude earthquake in central Taiwan in September 1999 killed more than 2,300 people.