Sun: The bulk of Java is open sourced

As part of Sun's announcements at its JavaOne show, the vendor said it had completed the open sourcing of the bulk of Java under GPLv2.

Sun Microsystems announced Tuesday it has finished the process of making the bulk of its core Java technology available as open-source software under the GNU general public license version 2 (GPLv2). The vendor made the announcement at its JavaOne conference in San Francisco.

However, Sun hopes the open-source community will help it resolve the issue of Java source code that remains "encumbered," where Sun doesn't hold enough rights to release the code under GPLv2, according to Rich Sands, community marketing manager for OpenJDK community at Sun. While he declined to put a percentage on how much of Java's 6.5 million lines of code are encumbered, Sands said the issue was primarily with Java 2D graphics technology, particularly around font and graphics rasterizing. While open-source alternatives are already available, they don't currently support all the necessary features of the Java 2D API (application programming interface).

For now, Sun will provide plug-ins for the Java 2D technology that can be combined with the rest of Java available under GPLv2 so developers will have access to a complete Java Development Kit (JDK). In the future, Sun plans to work with the open-source community to rewrite the encumbered components to replace the current closed-source code and make it available under GPL2.

"The free software community and Sun must work together to replace that code with free software," Richard Stallman, the founder of the Free Software Foundation (FSF) and the creator of the GPL, said in a release. He described the encumbered Java code as representing "the one last obstacle [which] remains in liberating JDK and disarming the Java Trap completely." Stallman defined the Java Trap back in 2004 as the restrictions based on free software programs that depend on non-free software.

Sun first pledged to make Java freely available just over a year ago at JavaOne in May 2006 and then in November announced its somewhat surprising choice of open-source license and began releasing OpenJDK components. In all of the vendor's previous open sourcing of its software, Sun relied on its own CDDL (common development and distribution license). Java was the first time the vendor opted for GPL, a popular license with the free and open-source software community.

Sun's hoping that open sourcing Java under the GPL will lead to Linux distributors embedding the software in their operating systems and thus widening the technology's appeal to more developers. Last month, Mark Shuttleworth, the founder of Ubuntu, said once Java was fully available under GPL, Canonical, the commercial sponsor of the Linux distribution, would consider including the technology in the core of Ubuntu.

Software implementations based on OpenJDK can now use the Sun Java SE 6 Compatibility Kit to help developers establish compatibility with the current Java SE 6 specification, Sands said. Once such implementations achieve certification, developers will be able to use the "Java Compatible" brand.

Open sourcing Java represents one of the largest donations of code to the developer community, Sands said, but merely making software freely available is insufficient. "Open-source developers need to have rules and governance spelled out for them for how they use and interact with the code base," he added.

With that in mind, Sun is establishing an OpenJDK interim governance board, which is to create a constitution and gain the community's approval for it over the coming year.

Announced at JavaOne, the interim board's non-Sun members are Doug Lea, a professor at the State University of New York and a member of the Java Community Process; Dalibor Topic, a graduate student at the University of Saarland, Saarbrucken, Germany, who works at the Max-Planck Institute for Computer Science and is a member of the FSF; and Fabiane Biznella Nardon, the chief technology officer of Zilics, a Brazilian healthcare information systems provider. The Sun board members are Mark Reinhold, chief engineer, Java SE, who currently heads up the engineering team for the OpenJDK project, and Simon Phipps, Sun's chief open source officer.

Once a constitution is in place, the OpenJDK community will vote to elect a new governance board, again only two of whom will work for Sun, Sands added.

Celebrating his one-year anniversary with Sun after returning to the company in May 2006, Rich Green, executive vice president, software at Sun, described the last twelve months as "a remarkable year for Sun and for Java." He didn't give a timeline on when the vendor might look to embrace GPLv3, which is currently in draft form, nor on whether Sun might look to make its other open-source software, notably its OpenSolaris operating system also available under the GPL.

Sun will be highlighting its recent relationship with chip giant Intel at JavaOne and Green didn't rule out the possibility of a tie-up between Sun and IBM at some point. Back in January, Sun Chairman Scott McNealy said he'd love his company to work with IBM.

Join the newsletter!


Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

China Martens

IDG News Service
Show Comments

Brand Post

Most Popular Reviews

Latest Articles


PCW Evaluation Team

Tom Pope

Dynabook Portégé X30L-G

Ultimately this laptop has achieved everything I would hope for in a laptop for work, while fitting that into a form factor and weight that is remarkable.

Tom Sellers


This smart laptop was enjoyable to use and great to work on – creating content was super simple.

Lolita Wang


It really doesn’t get more “gaming laptop” than this.

Jack Jeffries


As the Maserati or BMW of laptops, it would fit perfectly in the hands of a professional needing firepower under the hood, sophistication and class on the surface, and gaming prowess (sports mode if you will) in between.

Taylor Carr


The MSI PS63 is an amazing laptop and I would definitely consider buying one in the future.

Christopher Low

Brother RJ-4230B

This small mobile printer is exactly what I need for invoicing and other jobs such as sending fellow tradesman details or step-by-step instructions that I can easily print off from my phone or the Web.

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?