Sun Microsystems ( JAVA) announced weak preliminary results Tuesday as the server specialist streamlines its finances ahead of its acquisition by Oracle ( ORCL). Oracle threw down $7.4 billion for the Santa Clara, Calif.-based Sun earlier this year, and Sun is now looking to get charges off its books prior to the deal's conclusion. On a non-GAAP basis, Sun expects a fourth-quarter loss of between 6 cents a share and 16 cents a share, which excludes the impact of restructuring, stock-based compensation, lowered value of assets and acquisition-related costs. Analysts surveyed by Thomson Reuters had forecast a loss of 1 cent a share. Including charges, the Santa Clara, Calif.-based firm predicts a loss of between 24 cents a share and 34 cents a share. By clearing charges off its books, Sun is clearly looking to limit the acquisition's impact on Oracle's earnings. The deal, which is expected to close this summer, marks a strategic shift for Larry Ellison's company, which has built its business around software, not hardware. The Redwood Shores, Calif.-based firm sent shockwaves through the tech sector when it bought the beleaguered tech giant, which had also been a target for IBM ( IBM). Like many tech companies, Sun has been wrestling with the IT spending slowdown, and suffered widening losses in its recent third-quarter results. This trend looks set to continue, and Sun expects fourth-quarter revenue between $2.58 billion and $2.68 billion, down from $3.78 billion in the same period last year, and well below analysts' estimate of $3.03 billion.