Sun Microsystems Inc. said Thursday its stockholders had voted in favor of Oracle Corp.'s $7.4 billion takeover. Sun, the Santa Clara, California-based computer server and software maker, said in a press release 62 percent of holders of its common stock had voted to accept the agreement at a special meeting at its headquarters. Under the terms of the deal, database maker Oracle will acquire each Sun share for $9.50 in cash. An Oracle representative wasn't immediately available to comment on the Sun press release. Stockholder acceptance clears a major hurdle for the deal to progress. But deal closure remains subject to antitrust clearance from the US Justice Department, which in June said it was extending an initial investigation. Oracle has said despite the longer investigation, it expects the deal to close by the end of August. Oracle has said Java, the programming language which many companies and developers license from Sun, is the focus of the investigation. The deal, which was announced in April, came after Sun held negotiations with rival International Business Machines Corp. Redwood City, California-based Oracle, which makes databases and other software for large corporations, hasn't previously had a significant presence in the hardware business. Oracle chief executive Larry Ellison has said he is “definitely not going to exit the hardware business.” Sun projected a wider fiscal fourth-quarter loss and lower revenue.