Sun Microsystems announced Monday that its longtime chief executive Scott McNealy is stepping down from the helm and will be succeeded by the struggling computer and software company's No. 2 executive, Jonathan Schwartz. McNealy, 51, a Silicon Valley luminary for years, will continue as chairman of the company he co-founded in 1982. Schwartz, 40, will keep the title of president.