InfoQ

News

Hybrids Combine GNU Classpath and OpenJDK

Posted by Xandy Johnson on Jun 20, 2007 02:00 PM

Community
Java
Topics
Open Source
Tags
Java SE,
Open source Java

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

Reply

Exclusive Content

Typemock: Past, Present and Future

Eli Lopian of Typemock answers a few questions on Typemock origins and where Typemock is headed.

Agile in Practice: What Is Actually Going On Out There?

Scott Ambler talks about actual data resulting from surveys made during 2006-2008, showing how Agile is perceived and implemented within organizations.

Building Smart Windows Applications

From QCon 2008, Daniel Moth presents on using Visual Studio 2008 and .NET 3.5 to create compelling rich Windows applications.

Joshua Kerievsky about Industrial XP

Joshua Kerievsky, founder of Industrial Logic, talks about Industrial Extreme Programming which extends XP by including practices dealing with management, customers and developers.

Jeff Barr Discusses Amazon Web Services

Amazon Web Services (AWS) Evangelist Jeff Barr discusses SimpleDB, S3, EC2, SQS, cloud computing, how different Amazon services interact, origins of AWS, AWS globalization and the March AWS outage.

More Than Just Spin (Up) : Virtualization for the Enterprise and SaaS

Cloud services have helped bring virtualization to the forefront. Its full power however, also includes other benefits such as high availability, disaster recovery, and rapid provisioning.

Ruby Beyond Rails

John Lam talks about his path to dynamic languages, some of the problems of making IronRuby run fast, and how the DLR helps with implementing languages.

VMware Infrastructure 3 Book Excerpt and Author Interview

VMware Infrastructure 3: Advanced Technical Design Guide and Advanced Operations Guide provides a wealth of practical insights into setting up virtualization in todays corporate environments.