November 13, 2006

Sun open sources Java under GPL

Sun may add another open-source license if there is not a rapid uptake of Java under GPL

It's no surprise that Sun Microsystems is making its core Java platform freely available; what is somewhat unexpected is the vendor's choice of open-source license.

In all the open sourcing of its software to date, Sun has used its own open-source license, CDDL (Common Development and Distribution License).

What Sun is due to announce Monday is 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 license version 2 (GPLv2).

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'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.

At present, the plan is to offer the open-source versions of Java SE and Java ME under GPLv2. But Sun is open to adding another open-source license should the vendor not see rapid uptake of Java under GPL, Tolson said. At the same time, Sun will continue to provide commercial versions of its Java technologies for those users seeking paid support.

Sun also committed to providing dual licensing for Project GlassFish, its open-source application server initiative based on the Java Platform Enterprise Edition (Java EE). Underway since June 2005, GlassFish was available under CDDL. Come the first quarter of next year, GlassFish will also be licensed under GPLv2 to make it easier for developers to distribute versions of Java SE, Java EE and Java ME together.

The rest of Sun's open-source software, including its OpenSolaris operating system, will continue to be offered under CDDL. "We'll continue to evaluate what delivers our software in the most effective manner," said Jean Elliott, Sun's director of product marketing for Java SE. Sun will consider factors such as increasing compatibility, driving innovation, and building community, she added.

Monday's 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.

Close

On Twitter now

Application development

Powered by Twitter

White Paper

D2D Virtual Tape Library Replication Primer

This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.

Download now »

White Paper

An Alternative to Virtualization for Datacenter Cost Savings

Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.

Download now »

White Paper

Why Your Firewall, VPN, and IEEE 802.11i Aren't Enough to Protect Your Network

The emergence of WLANs has created a new breed of security threats to enterprise networks.

Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation

Download now »

White Paper

Bringing the Edge to the Data Center

Effectively address data protection challenges, implementing solutions that help store and protect business–critical data while cutting costs and improving efficiency and reliability.

Download now »

Sign up to receive InfoWorld Resource Alerts

Subscribe to the Developer World Newsletter

Receive a weekly roundup about the art and science of software development.

©1994-2009 Infoworld, Inc.