Advertisement
Promo

Office applications Toolkit

Open source Java project wants code donations

Ingrid Marson ZDNet.co.uk

Published: 05 Jul 2005 15:00 BST

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

Apache Harmony, a project which plans to create an open source implementation of Java, has called on the Java business community to donate software.

Geir Magnusson, a board member at Apache Software Foundation, said developing open source implementations of all parts of the Java platform will be difficult, but he hopes to speed things along by persuading companies and free software projects to contribute code.

"We don't want to reinvent this stuff. There are a couple of candidates for re-use — the GNU Classpath [a free software project that implements some Java class libraries], existing production JVM [Java Virtual Machine] vendors. There's a lot of software we're hoping could be donated," said Magnusson, speaking at a session at the JavaOne conference last week.

The hardest task will be implementing the Java class libraries, according to Magnusson, describing this task as a "massive amount of work". Developing the Java Virtual Machine and the just-in-time compiler (JIT) — the code generator that converts Java bytecode into machine language instructions — will also be difficult as it is "sophisticated computer science", said Magnusson. There are a number of commercial implementations of the JVM and JIT, including BEA JRockit, IBM JVM and the JVM in Macromedia ColdFusion MX.

Developing an open source implementation of Java is important to increase the adoption of Java in the open source community, which may otherwise use Mono — an open source platform that can run .NET or Java programs, according to Magnusson.

"We want to provide an acceptable open and free Java platform for the Linux and BSD communities. Java is a second class citizen in Linux right now because it isn't under an open source licence," he said. "The open source community is also looking at Mono…We have a better alternative than Mono — Java. If we can give them the choice, I think they'll take it."

There is also a risk that developing countries may avoid Java as it is not open source, said Magnusson. For example, Brazil plans to mandate the use of open source software in government agencies, which could theoretically prevent the use of Java in Brazil.

The open source community and companies that work with the open source community, such as IBM , have called on Sun to open source its own Java implementation. Sun has resisted until now, warning that making Java open source could threaten Java's compatibility .

Magnusson denied that creating an open source implementation would result in an incompatible version of Java, as it plans to test the product using Java's Technology Compatibility Kit (TCK). "It has to pass the TCK as no-one would use it otherwise," he said. He said he hopes that the Apache Harmony project will put an end to the ongoing debate over whether Sun should open source Java.

Sun is "cautiously supportive" of the Apache Harmony project, according to Magnusson. However, it has been reported that James Gosling, one of the creators of Java and now a senior Sun executive, is sceptical about Apache Harmony, although he seems to be more supportive of the idea of simply opening up the source code of Java itself.

In an interview last week he said: "Sun is a democracy, and some believe it [open sourcing Java] could work and some people don't. Right now there are more nays than yeas... More often than not I'm in the yea category. But I have to admit I go back and forth."

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

Did you find this article useful?
75 out of 155 people found this useful


Full Talkback thread

0 comments

Company/Topic Alerts

Create a new alert from the list below:




Video icon

Video

Discussions

Tezzer Tezzer

This should be watched

Monday 6 July 2009, 10:22 PM

1 comment
hkommedal hkommedal

Yet another example of . . .

Monday 6 July 2009, 9:40 PM

1 comment

Vista Upgrade Blog

PreSales Canabalize Retailers' Opening...

(My attempt at writing a tabloid headline.) A Very Interesting Microsoft event just occurred. Microsoft is offering at a deep discount and through direct retail sale their FUTURE... More

Post a comment

Windows 7 on a Read-only Flash Drive?

Considering that the price of a 4GB USB flash drive has been as low as 5 dollars on close-out specials, financially it wouldn't make sense UNLESS Microsoft decides to go into the Flash... More

Post a comment

Bizarre Windows 7 Downgrade/Upgrade Po...

Over at the ZDNet U.S. site, Adrian Kingsley-Hughes has posted about what will apparently be a new low in bizarre downgrade/upgrade policies involving Windows 7, Windows Vista and Windows... More

4 comments


Skip Sub Navigation Links to CNET Brand Links

Help

Become part of the ZDNet community.

Newsletters