InfoQ

News

Hybrids Combine GNU Classpath and OpenJDK

Posted by Xandy Johnson on Jun 20, 2007

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

Watch Thread Reply

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.