InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Hybrids Combine GNU Classpath and OpenJDK

Posted by Xandy Johnson on Jun 20, 2007

Sections
Architecture & Design,
Development,
Operations & Infrastructure
Topics
Java ,
Open Source
Tags
Open source Java ,
Java SE

The first GNU Classpath/Sun Java hybrids have begun to appear. The hybrids combine GNU Classpath with Java code that Sun has recently released under the GPL either to improve an existing project or to further the goal of having a completely Free JDK. First IKVM made a snapshot available, thus allowing parts of the OpenJDK class libraries to be used on Mono and .NET. Then the CACAO team released a new version that allows Sun's phoneME to be used as core libraries. Finally, Red Hat launched IcedTea to allow the OpenJDK to be built using only Free Software and to provide stubs and replacements from GNU Classpath for the remaining binary plugs in the OpenJDK.

IKVM.NET is an implementation of Java for Mono and the Microsoft .NET Framework. Previously it used the GNU Classpath implementations of the Java class libraries. It has now begun the "long journey" of integrating libraries from the OpenJDK. The first snapshot was released May 31 and another on June 13.

CACAO is a JITed JVM supporting the i386, x86_64, Alpha, PowerPC, ARM, MIPS, and MIPS32 architectures. CACAO uses GNU Classpath as its default Java core libraries. The 0.98 "Free all JITs!" release added support for using Sun's phoneME CLDC 1.1 classes as Java core libraries.

Sun has released almost all of the JDK under the GPL, with one of the key words being, "almost." There are still a number of "binary plugs," which represent encumbered components. Red Hat has launched the IcedTea project, with the goals of (1) allowing the OpenJDK to be built using only Free Software and (2) providing Free stubs and replacements for the binary plugs. As much as possible, the replacement code has been pulled from from GNU Classpath, but the IcedTea project has also created stubs for dependencies that can't be satisfied by GNU Classpath. IcedTea "is not intended to be a permanent project - just a stopgap measure" until the work can be incorporated directly into the OpenJDK.

It is encouraging that the code sharing is already going both ways. Free Software projects are not just incorporating the newly freed code, they are also helping to advance the OpenJDK. It seems clear that this is only the beginning.

No comments

Watch Thread Reply

Educational Content

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.

Beauty Is in the Eye of the Beholder

Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.

Architecting Visa for Massive Scale and Continuous Innovation

John Davies examines Visa’s architecture and shows how enterprises have architected complex integrations incorporating Hadoop, memcached, Ruby on Rails, and others to deliver innovative solutions.

Max Protect: Scalability and Caching at ESPN.com

Sean Comerford unveils ESPN.com’s architecture, what components are used and why, and the current changes the website goes through.

The Seven Deadly Sins of Enterprise Agile Adoption

Are there repeated patterns of failure on Enterprise Agile Enablement efforts? Sanjiv and Arlen discuss Seven Deadly Sins to avoid when adopting Agile in an enterprise.

Questions for an Enterprise Architect

Erik Dörnenburg answers: What is Enterprise and Evolutionary Architecture?, discussing 4 issues: Turning strategy into execution, Ensuring conformance, Where do the architects sit? Buying or building?

Wrap Your SQL Head Around Riak MapReduce

Sean Cribbs explains what Map-Reduce and Riak are, why and how to use Map-Reduce with Riak, and how to convert SQL queries into their Map-Reduce equivalents.