IcedTea

From Wikipedia, the free encyclopedia
IcedTea for OpenJDK 7
Developer(s) Red Hat & GNU Classpath
Stable release 2.4.5 / January 29, 2014 (2014-01-29)
Written in C, C++ and Java
Operating system GNU/Linux, *BSD, Mac OS X, Windows, Solaris
Platform IA-32, x86-64, ARM, sparc, sparc64, ppc, ppc64
Type Java Virtual Machine and Java Library
License GPL+linking exception
Website http://icedtea.classpath.org
IcedTea for OpenJDK 6
Developer(s) Red Hat & GNU Classpath
Stable release 1.13.1 / January 22, 2014 (2014-01-22)
Written in C, C++ and Java
Operating system GNU/Linux, *BSD, Mac OS X, Windows, Solaris
Platform IA-32, x86-64, ARM, sparc, sparc64, ppc, ppc64
Type Java Virtual Machine and Java Library
License GPL+linking exception
Website http://icedtea.classpath.org
IcedTea-Web
Developer(s) Red Hat & GNU Classpath
Stable release 1.3.2 / April 17, 2013 (2013-04-17)
Written in C++ and Java
Operating system GNU/Linux, *BSD, Mac OS X, Windows, Solaris
Type Java Web Start support and Java web plugin for applets
License GPL+linking exception
Website http://icedtea.classpath.org/wiki/IcedTea-Web

IcedTea is a build and integration project for OpenJDK launched by Red Hat in June 2007.[1] IcedTea-Web is a free software implementation of Java Web Start and the Java web browser plugin. The FSF recommends all Java programmers use IcedTea as their development environment.

Historically, the initial goal of the IcedTea project was to make the OpenJDK software, which Sun Microsystems released as Free software in 2007, usable without requiring any proprietary software and hence make it possible to add OpenJDK to Fedora and other Linux distributions that insist on Free software. This was met, and a version of IcedTea based on OpenJDK was packaged with Fedora 8 in November 2007. April 2008 saw the first release[2] of a new variant, IcedTea6 which is based on Sun's build drops of OpenJDK6, a fork of the OpenJDK with the goal of being compatible with the existing JDK6. This was released in Ubuntu and Fedora in May 2008. The IcedTea package in these distributions has been renamed to OpenJDK using the OpenJDK trademark notice. In June 2008, the Fedora build passed Sun's rigorous TCK testing[3] on x86 and x86-64. IcedTea 2, the first version based on OpenJDK 7, was released in October 2011.[4]

History

This project was created following Sun’s release under open source licenses of its HotSpot Virtual Machine and Java compiler in November 2006, and most of the source code of the class library in May 2007. However, parts of the class library, such as font rendering, colour management and sound support, were only provided as proprietary binary plugins. This was because the source code for these plugins was copyrighted to third-parties, rather than Sun Microsystems.[5][6] The released parts were published under the terms of the GNU General Public License, a free software license.

Due to these missing components, it was not possible to build OpenJDK only with free software components. Sun aimed to negotiate with the license holders to allow this code to be released under a free software license, or failing that, to replace these proprietary elements with alternative implementations. With the plugins replaced, the class library would then be completely free. Sun has continued to use the proprietary code in their certified binary releases.[7]

Following the announcement, the IcedTea project was started and was formally announced on June 7, 2007,[8] with a build repository provided by the GNU Classpath team. The team could not call their software product "OpenJDK" because this is a trademark which was owned by Sun Microsystems. They instead decided to use the temporary name "IcedTea".[9]

On November 5, 2007, Red Hat signed both the Sun Contributor Agreement and the OpenJDK Community TCK License. The press release suggested that this would benefit the IcedTea project.[10] Simon Phipps suggested the possibility of IcedTea being hosted on openjdk.java.net,[11] and Mark Reinhold noted that signing the copyright assignment could allow Red Hat to contribute parts of IcedTea to Sun for inclusion in the mainstream JDK.[12][13]

Since then, a number of patches from IcedTea have made their way into OpenJDK.[14][15]

On June 2008, it was announced that IcedTea6 (as the packaged version of OpenJDK on Fedora 9) has passed the Technology Compatibility Kit tests and can claim to be a fully compatible Java 6 implementation.[16] The project continues to track both OpenJDK 6 and OpenJDK 7 development in separate repositories, and contribute patches back upstream[17] where possible; the current state of each IcedTea patch is maintained on the IcedTea wiki.

The aims

The IcedTea project started with two aims:

  1. to make it possible for the GNU Compiler for Java to compile the OpenJDK code. Originally only the existing proprietary Sun JDK could compile the OpenJDK software. Free distributions like Fedora can't depend on proprietary tools in order to build packages, so the IcedTea project had to make it possible to compile the code using free software. When this was done, the resulting IcedTea version of OpenJDK could be used to compile itself, thus escaping the need to use non-Free software for future compiling.[8][18]
  2. to provide free equivalents of the binary plugins that existed in OpenJDK because Sun was unable to release all the source code. As of March 2008, this is no longer necessary for IcedTea6, as the OpenJDK 6 build drops can be built with no binary plugins. With the release of b10,[19] which replaces the proprietary sound support with that from the Gervill project, a full implementation of Java 1.6 can be built without binary plugins. The only remaining binary plug is for SNMP support, which is an optional provider for the JMX architecture and not part of the specification. As of b53 in April 2009,[20] the same is true for OpenJDK 7. Outside the core of OpenJDK, binary plugins are still required for utilizing Java Web Start applets that run using the browser plugin (distinct from the core plugins discussed earlier); as of 2013, the only source code available that accomplishes this goal is the IcedTea-Web project.

Other benefits

IcedTea also provides a more familiar build system by providing a wrapper around the OpenJDK makefiles using the GNU autotools. This removes the need to remember a large number of environment variables for configuring the build. (The current IcedTea builds set roughly forty such variables for the underlying OpenJDK build.) It has also provided a place for early work on features which will eventually appear in the main OpenJDK builds such as Gervill[21] and for work on ports to other platforms.

IcedTea-Web

IcedTea NPR plugin (based on IcedTea6) listed in Debian Iceweasel 6.0.2 (Knoppix 6.7.1)

IcedTea provides a free-software Java Web browser plugin. It was the first to work in 64-bit browsers under 64-bit Linux, a feature Sun's proprietary JRE later addressed.[22] This makes it suitable to enable support for Java applets in 64-bit Mozilla Firefox, among others. IcedTea also provides a free Java Network Launching Protocol implementation. Sun has promised to release their plugin and Web Start implementation as part of OpenJDK, but so far have not done so,[23] despite pressure from the community.[24] Development on the IcedTea plugin continues, with the latest version of the next-generation plugin supporting Google's Chromium[25] in addition to Firefox. Since 2011, development takes place in the separate IcedTea-Web project.[26] As of April 2013, Oracle has kept the codebase of the Java plugin fully proprietary , in contrast to the remainder of OpenJDK.

Progress and availability

From June 2007, IcedTea was able to build itself and pass a significant portion of Mauve, the GNU Classpath test suite.[27] In May 2008, support was added to IcedTea for running the Sun jtreg regression tests.[28] Availability on several Windows editions still remains unstable and unnoficial.

IcedTea has become popular among package maintainers for the following Linux distributions. Currently (as of April 2012):

  • IcedTea is the default JVM in Ark Linux[29] and Arch Linux.[30]
  • It can be built and run under Debian.[31] Packages entered unstable on 12 July 2008.
  • IcedTea[7] was available in Fedora 8 and IcedTea6 appears in Fedora 9, 10, 11, 12 and 13 as java-1.6.0-openjdk.[citation needed]
  • A binary and a source package for IcedTea6 is available in Gentoo's official repository. Installing a Java application by default pulls in IcedTea6 instead of sun-jdk because it can be installed without extra work from the user, as users have to manually agree to Oracle's EULA to download the sun-jdk.
  • IcedTea is available in Ubuntu 7.10 (Gutsy Gibbon), from the "universe" repository,[32] and IcedTea6 in 8.04 (Hardy Heron).[33] Starting with Ubuntu 11.04 only IcedTea is available.

Architecture

OpenJDK contained approximately (on release in May 2007) 4% encumbered code,[9] which was only packaged as binary plugins. These were required to build and use the JDK. OpenJDK 6 was released with only 1% encumbered code, and the encumbered sound support has also since been replaced. IcedTea6 is based on this release. IcedTea still provides its own web browser plugin and Web Start support, as Sun's implementation remains proprietary.

IcedTea can compile OpenJDK using GNU Classpath-based solutions such as GCJ and optionally bootstraps itself using the HotSpot Java Virtual Machine and the javac Java compiler it just built.[34]

Zero and Shark

Ports of HotSpot (OpenJDK's Virtual Machine) are difficult, because the code contains much assembly language, in addition to the C++ core.[35] The IcedTea project has developed a generic port of the HotSpot interpreter called zero-assembler Hotspot (or zero),[36] with almost no assembly code.[37][38] This port is intended to allow the interpreter part of HotSpot to be very easily adapted to any Linux processor architecture.[39] The code of zero-assembler Hotspot is used for all the non-x86 ports of HotSpot (PPC, IA-64, S390 and ARM) since version 1.6 of IcedTea7.[40][41][42]

The IcedTea project is now developing a platform-independent just-in-time compiler called Shark for HotSpot, using LLVM, to complement Zero.[38][43] Completing this work will make the Java Virtual Machine independent of the CPU architecture.

See also

References

  1. Fitzsimmons, Thomas (2007-06-08). "Credits". Retrieved 2007-06-08. 
  2. Angel, Lillian (2008-04-04). "IcedTea6 1.1 Released". Retrieved 2008-07-12. 
  3. Sharples, Rich (2008-06-19). "Java is finally Free and Open". Retrieved 2008-06-19. 
  4. Hughes, Andrew John (2011-10-19). "IcedTea 2.0 Released!". Retrieved 2012-01-31. 
  5. "Open JDK is here!". Sun Microsystems. 2007-05-08. Retrieved 2007-05-09. 
  6. See also Java Class Library Licensing
  7. "Sun's OpenJDK FAQ". "Now Sun is open sourcing most of the remaining components of the JDK, with the exception of a few encumbered components that we hope, with the community's help, can be re-implemented so that 100 % of the OpenJDK code commons is available as free software... Sun will continue to use that code in commercial releases until it's replaced by fully-functional open-source alternatives" 
  8. 8.0 8.1 Haley, Andrew (2007-06-07). "Experimental Build Repository at icedtea.classpath.org". Retrieved 2007-06-09. 
  9. 9.0 9.1 Fitzsimmons, Thomas (2007-05-18). "Plans for OpenJDK". Retrieved 2007-05-22. 
  10. "Red Hat and Sun Collaborate to Advance Open Source Java Technology". Red Hat. 2007-11-05. Retrieved 2007-11-06. 
  11. Phipps, Simon (November 5, 2007). "Red Hat Joins OpenJDK". Retrieved 2007-11-14. 
  12. Reinhold, Mark (2007-11-05). "Welcome, Red Hat!". Retrieved 2007-11-14. 
  13. Haley, Andrew (May 16, 2008). "Open source project: OpenJDK". 
  14. "Bug ID 6523403: OSS CMM: Need to provide lcms library with PYCC and LINEAR_RGB OS ICC profiles". Retrieved 2008-07-12. 
  15. "Bug ID 6604044 java crashes talking to second X screen". Retrieved 2008-07-12. 
  16. Sharples, Rich (2008-06-19). "Java is finally Free and Open". 
  17. Haley, Andrew (2009-04-01). "New project: getting rid of IcedTea local patches". Retrieved 2009-09-05. 
  18. Wielaard, Mark (2007-06-07). "Experimental Build Repository at icedtea.classpath.org". Retrieved 2007-06-09. 
  19. Wielaard, Mark (2007-05-30). "OpenJDK6 b10 source posted". Retrieved 2008-07-12. 
  20. "Changes in OpenJDK7 b53". 2009-04-02. Retrieved 2009-09-05. 
  21. Gervill, a generic synthesizer for Java
  22. Java SE 6 Update 12 Release Notes. Java.sun.com. Retrieved on 2013-07-18.
  23. Darcy, Joe (2009-06-08). "OpenJDK and the new plugin". Retrieved 2009-09-05. 
  24. Hughes, Andrew John (2009-08-21). "Opensource plugin&webstart - when?". Retrieved 2009-09-05. 
  25. Bhole, Deepak (2009-08-26). "IcedTea Java plugin with Chromium and Firefox 3.6A1". Retrieved 2009-09-05. 
  26. Bhole, Deepak (2011-02-02). "First release of IcedTea-Web!". Retrieved 2011-04-04. 
  27. Kung, Francis (2007-06-12). "Mauve test run results". Retrieved 2007-06-12. 
  28. Wielaard, Mark. "jtreg testing integrated". Retrieved 2008-07-12. 
  29. "Ark Linux packages". Ark Linux. Retrieved 2008-02-23. 
  30. "JRE and JDK Moved to Community". Arch Linux. Retrieved 2009-07-30. 
  31. "Debian Building Instructions". IcedTea Wiki. Retrieved 2008-05-21. 
  32. "Ubuntu -- Details of icedtea-java7-jre in gutsy". Ubuntu Packages. Retrieved 2007-10-26. 
  33. "Ubuntu -- Details of package openjdk-6-jre in hardy". Ubuntu Packages. Retrieved 2008-07-12. 
  34. Wielaard, Mark (2007-06-07). "IcedTea". Retrieved 2007-06-09. 
  35. Benson, Gary (2007-11-06). "Gary's guide to porting IcedTea". Retrieved 2008-01-26. 
  36. "Zero-Assembler Project". Retrieved 2008-08-22. 
  37. "ZeroSharkFaq". icedtea.classpath.org. Retrieved 2009-05-30. 
  38. 38.0 38.1 Benson, Gary (2008-05-28). "28 May 2008". Red Hat. Retrieved 2008-05-30. "Shark is a platform-independent JIT for HotSpot, to complement the zero-assembler interpreter we’ve been using" 
  39. Benson, Gary (2009-05-21). "Zero and Shark: a Zero-Assembly Port of OpenJDK". java.net. Retrieved 2009-05-30. "We started an experimental port of OpenJDK without assembly language, using free software libraries to bridge the gaps. This experiment evolved to become the zero-assembly port of OpenJDK — Zero — and its just-in-time compiler Shark." 
  40. Benson, Gary (2008-02-01). "1st February 2008". Retrieved 2008-02-03. 
  41. Haley, Andrew (2008-01-31). "Making zero-assembler the default on ppc". Retrieved 2008-02-03. 
  42. Angel, Lillian (2008-02-13). "IcedTea 1.6 Released with Zero-assembler and JNLP support!". Red Hat. Retrieved 2008-02-13. 
  43. Benson, Gary (2008-03-31). "31 March 2008". Red Hat. Retrieved 2008-05-30. 

External links

This article is issued from Wikipedia. The text is available under the Creative Commons Attribution/Share Alike; additional terms may apply for the media files.