The European Union on Thursday cleared Oracle Corp.'s proposed $7.4 billion takeover of Sun Microsystems Inc., saying it would not significantly affect competition in the EU.