Magnitude 5.8 earthquake jolts Japan