TOKYO (AP) _ An earthquake with a preliminary magnitude of 5.7 struck southern Japan on Wednesday, swaying buildings and rattling shelves. There were no immediate reports of injuries or damage, and no danger of tsunami.

The quake hit at 6:11 a.m. on Japan's southern main island of Kyushu, the Central Meteorological Agency reported. Officials warned of the danger of aftershocks.

The tremor hit near Fukuoka city, 560 miles southwest of Tokyo, where a powerful earthquake in March killed one person and injured hundreds.