A 7.0 earthquake has hit Japan's Ryukyu Islands, 50 miles off the coast of Okinawa.