EX-23.2 4 a06-23305_1ex23d2.htm EX-23

EXHIBIT 23.2

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We consent to the incorporation by reference in the Registration Statement (Form S-8) of Sun Microsystems, Inc. pertaining to the Neogent, Inc. 2001 Stock Incentive Plan of our reports dated September 1, 2006, with respect to the consolidated financial statements of Sun Microsystems, Inc. included in its Annual Report (Form 10-K) for the year ended June 30, 2006, Sun Microsystems, Inc. management’s assessment of the effectiveness of internal control over financial reporting, and the effectiveness of internal control over financial reporting of Sun Microsystems, Inc., filed with the Securities and Exchange Commission.

/s/ Ernst & Young LLP

San Jose, California
November 6, 2006