Richard Waters Sun Microsystems’ losses narrow