Java is completely open now
At JavaOne in May, 2006, Sun Microsystems announced they were going to release Java as free software under the terms of the GPL. The size of the task (6.5 million lines of code) was only eclipsed by the size of the opportunity for Java as a free and open technology.
At JavaOne in May 2007, Sun announced that the work was largely completed and so OpenJDK was launched. What was less newsworthy was the fact that on release – OpenJDK still relied on code that was encumbered – between 4 and 5 percent of the code was closed, non free source that Sun didn’t own.