TOKYO - An earthquake with a preliminary magnitude of 6.2 rocked Tokyo and surrounding areas of eastern Japan on Friday, but there was no threat of a tsunami, the weather agency said.