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 friendlyPrint with EPSON

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

1000266930 1000266930

Typical dictatorial attitude from the...

Wednesday 2 December 2009, 12:22 PM

2 comments
ator1940 ator1940

ACTA

Wednesday 2 December 2009, 12:07 PM

2 comments
hkommedal hkommedal

It certainly does.

Wednesday 2 December 2009, 12:15 AM

5 comments
CA CA

No, Mr Filesharer, I expect you to die...

Tuesday 1 December 2009, 10:20 PM

4 comments

Vista Upgrade Blog

This Crap Site

How utterly stupid - I am ranked #40 in the top 100 - as a member of this site..... I mean HOW utterly stupid.... I have done sweet FA, I have only rejoined this site after a 3 or... More

2 comments

Microsoft Security Update: November Pa...

Apologies for this late update to our core Patch Tuesday update. Here is a summary of the update .... The November Patch Tuesday update from Microsoft follows the largest patch and... More

Post a comment

Windows 7 pricing all over the shop..a...

I really think Microsoft have made a mess of Windows 7 pricing. They got the product right, yet there initial pricing of at around £44.95 for the full version of Windows 7 Home Premium... More

7 comments


Skip Sub Navigation Links to CNET Brand Links

Help

Become part of the ZDNet community.

Newsletters