An earthquake with a preliminary magnitude of 4.8 struck eastern Japan early Thursday, causing shaking in Chiba Prefecture.