It's no surprise that Sun Microsystems is making its core Java platform freely available; what is unexpected is the vendor's choice of open-source licence.
Sun is today announcing the open sourcing of both its Java Platform Standard Edition (Java SE) and its Java Platform Micro Edition (Java ME) under the GNU general public licence version 2 (GPLv2).
Monday's release of Java SE is an initial launch, with the full open-source implementation of the specification to come in March, said Jean Elliott, Sun's director of product marketing for Java SE.
Starting with three core Java components – HotSpot, Compiler and JavaHelp – will enable Sun to build up a community around the OpenJDK project as well as get its governance model in place and review any outstanding obstacles to making the rest of Java SE freely available, she added.
The release of Java ME, known as Project Mobile and Embedded represents the technology found in the Java-based phones in today's market, according to Eric Chu, Sun's senior director of mobile and embedded product marketing.
Sun is hoping open sourcing Java ME will help stop the fragmentation in the market, instead driving convergence around the freely available version of Java. "We also hope to deepen ties with developers," he said, not just in mobile games where Java has already been very successful, but also in multimedia, information services and messaging. Open-source Java ME should also facilitate more feedback between Sun and mobile developers.
But in all the open sourcing of its software to date, Sun has used its own open-source licence, CDDL (Common Development and Distribution Licence).
Popular in the free and open-source software (FOSS) community, the GPL which was created in 1989, then revised as GPLv2 in 1991, is used by the Linux operating system, MySQL AB's database and the Samba file-and-print server project.
Sun first committed back in May to make Java freely available and since that time company executives have been consulting with Sun partners and developers to determine which license would best meet their needs.
"GPL is the right choice," said Laurie Tolson, Sun's vice president of Java developer products and programs. The move shouldn't be read as an admission that CDDL has failed, she added, although convincing developers to adopt a newer open-source license has taken more time than Sun might have hoped.
Compatibility was a key driver for Sun in the decision to use GPL for Java, Tolson said. In particular, the vendor is hoping that GNU/Linux distributions such as Debian and Ubuntu will bundle Java into their operating systems and so take the development environment into new markets.
Find your next job with computerworld UK jobs