Sun Microsystems Inc. said it plans to lay off about 3,000 employees, or about 10% of its work force, because of delays in the closing of its purchase by Oracle Corp.

The hardware and software maker has been reducing its work force over the years because of declining revenues, and additional job cuts have been widely expected to happen after Oracle buys the company.

That...