A preliminary 2.6 magnitude earthquake struck Thursday morning just east of San Jose, according to the United States Geological Survey.