Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

JVM Languages

Java Open Source Move Leaves Wiggle Room


With all the hoopla it could muster, Sun Microsystems made Java, its portable programming language and closely held software gem, an open source commodity last week. The highly anticipated move means more technology products based on Java and more street cred for Sun.

Sun pushed Java into the public domain by adopting a version of the General Public License, the same license that covers Linux. Sun's move "requires people to understand the GPL," says Doug Levin, president of Black Duck, a company that inspects code for segments that might be derived from open source forebears, GPL-licensed or otherwise.

Shot o' joe: Linux developers can inject Java, says Green

Shot o' joe: Linux developers can inject Java, says Green
The GPL requires that anything added to open source code covered under it--like Linux--be given back to the programming community and published in the public arena. The GPL that applies to Java, however, allows for a "class path exception," which means that an application built on top of the Java Virtual Machine can be excepted from the GPL. That lets developers retain the right to sell their Java-based applications as proprietary products. Before, vendors that built Java products, such as BEA Systems and Oracle, had to shell out for a commercial Java license from Sun, which is still available.

Linux distributors "will soon be able to include the JDK as part of the repositories that are included with Linux," noted Sun executive VP for software Rich Green. That's good news for smartphone and other mobile device makers, which frequently match up Java with the Linux kernel for special features on their devices. Sun claims there are 3.8 billion Java-enabled smart cards and mobile devices.

As for companies that develop applications in-house using Java, they won't have to put their valuable intellectual property into the public domain. Plenty of corporate developers are familiar with Java: To seed the corporate environment, the Java Development Kit and Java Virtual Machine always have been available for free to noncommercial developers.

Sun created similar hoopla when it made its Solaris operating system available as an open source product last year. That move has helped drive server sales, according to Sun officials. Java, though, has been something close to an open source product for a while. Java's ongoing development was in the hands of the Java Community Process, a consortium of Sun partners and competitors.

TORTUOUS PATH

Sun has pursued a tortuous path with Java.

The company promised to submit Java to the International Standards Organization as a programming language standard, then quarreled with OSI and withdrew it. Next, Sun proposed submitting a draft of Java as a standard to ECMA (formerly known as the European Computer Manufacturers Association), then withdrew it, saying it was vital that Sun retain sole rights to Java to prevent incompatibilities.

IBM, an early proponent of Java, applauded the GPL move. But Rod Smith, IBM's VP of emerging Internet technologies, notes that Sun could have contributed code to an open source programming language project already under way--the Apache Software Foundation's Harmony project--"rather than starting another open source Java project." The two will compete for volunteer developers, Smith says.

That's OK with Geir Magnusson, chairman of the Harmony project, which has 20 primary developers and had 3,026 posts to its comment forum last month. Code that gets reviewed frequently and commented on is a sign of a healthy open source project. "My original interest was to push Sun to do what it has done," says Magnusson. "The battle is won, and I'm happy."


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.