An earthquake with a preliminary magnitude of 4.9 struck Ibaraki Prefecture in eastern Japan on Wednesday, the weather agency said, though no tsunami warning was issued and there have been no reports of serious injuries or damage.