Share to: share facebook share twitter share wa share telegram print page

Java Class Library

The Java Class Library (JCL) is a set of dynamically loadable libraries that Java Virtual Machine (JVM) languages can call at run time. Because the Java Platform is not dependent on a specific operating system, applications cannot rely on any of the platform-native libraries. Instead, the Java Platform provides a comprehensive set of standard class libraries, containing the functions common to modern operating systems.

JCL serves three purposes within the JVM:

  • Like other standard code libraries, they provide the programmer a well-known set of useful facilities, such as container classes and regular expression processing.
  • The library provides an abstract interface to tasks that would normally depend heavily on the hardware and operating system, such as network access and file access.
  • Some underlying platforms may not support all of the features a Java application expects. In these cases, the library implementation can either emulate those features or provide a consistent way to check for the presence of a specific feature.

Implementation and configuration

JCL is almost entirely written in Java, except for the parts that need direct access to the hardware and operating system (such as for I/O or bitmap graphics). The classes that give access to these functions commonly use Java Native Interface wrappers to access operating system APIs.

Almost all of JCL is stored in a single Java archive file called "rt.jar" which is provided with JRE and JDK distributions. The Java Class Library (rt.jar) is located in the default bootstrap classpath[1] and does not have to appear in the classpath declared for the application. The runtime uses the bootstrap class loader to find the JCL.

The Java Module System (part of the Java 9 release) broke the monolithic "rt.jar" JAR file and modularized the JCL itself in several modules with specified dependencies.[2]

Conformance

Any Java implementation must pass the Java Technology Compatibility Kit tests for compliance, which includes JCL tests.

Main features

JCL Features are accessed through classes provided in packages.

Licensing

Prior licenses

Before the release of OpenJDK, the JDK was based on a proprietary license.

Following their promise to release a fully buildable JDK based on almost completely free and open-source code in the first half of 2007,[3] Sun released the complete source code of the Class Library under the GPL on May 8, 2007, except some limited parts that were licensed by Sun from third parties who did not want their code to be released under an open-source license.[4] Sun's goal was to replace the parts that remain proprietary and closed source with alternative implementations and make the Class Library completely free and open source.

Until December 2010, the remaining encumbered part of the JDK was made available by Sun then Oracle as Binary Plugs[5] which were required to build the JDK but not necessary to run it. as of May 2007, the only part of the Class library that remained proprietary and closed-source (4% as of May 2007 for OpenJDK 7,[6] and less than 1% as of May 2008 and OpenJDK 6[7][8]) was[9] the SNMP implementation.[10]

Since the first May 2007 release, Sun, with the help of the community, released as open-source or replaced with open-source alternatives almost all the encumbered code:

Open source release

Beginning in December 2010, all the so-called binary plugs were replaced by open source replacements, making the entire JDK open.[20]

Alternative implementations

GNU Classpath is the other main free software class library for Java. Contrary to other implementations, it only implements the Class Library, and is used by many free Java runtimes (like Kaffe, SableVM, JamVM).

Apache Harmony was another free software class library. Its aim was to implement the other parts of the Java stack (Virtual Machine, Compiler, and other tools required for any Java implementation).

See also

References

  1. ^ "How Classes are Found". Oracle Corporation. Archived from the original on 2009-04-25. Retrieved 2015-12-05.
  2. ^ "JDK Module Summary". Oracle Corporation. 2015-10-23. Archived from the original on 2015-12-08. Retrieved 2015-11-29.
  3. ^ "Free and Open Source Java - FAQ". sun.com. May 2007. Archived from the original on May 22, 2007. Retrieved 2024-06-27.
  4. ^ Rich Green (2007-05-08). "Open JDK is here!". Sun Microsystems. Archived from the original on 2012-02-07. Retrieved 2011-11-25.
  5. ^ "OpenJDK Binary Plugs". Sun Microsystems. 2007-05-08. Archived from the original on 2012-08-26. Retrieved 2011-11-25.
  6. ^ Fitzsimmons, Thomas (2007-05-18). "Plans for OpenJDK". Retrieved 2007-05-22.
  7. ^ Angel, Lillian (2008-03-13). "OpenJDK to replace IcedTea in Fedora 9". Archived from the original on 2012-12-10. Retrieved 2008-04-05.
  8. ^ Wade, Karsten (2008-03-13). "OpenJDK in Fedora 9!". redhatmagazine.com. Archived from the original on 2008-04-21. Retrieved 2008-04-05. Thomas Fitzsimmons updated the Fedora 9 release notes source pages to reflect that Fedora 9 would ship with OpenJDK 6 instead of the IcedTea implementation of OpenJDK 7. Fedora 9 (Sulphur) is due to release in May 2008.
  9. ^ Herron, David (2007-10-04). "Plans for OpenJDK". Archived from the original on 2007-10-11. Retrieved 2007-10-09.
  10. ^ a b "OpenJDK 6 b10 source posted". 2008-05-30. Archived from the original on 2009-06-18. Retrieved 2008-06-01.
  11. ^ "audio-engine project page". Archived from the original on 2007-05-16. Retrieved 2007-05-19.
  12. ^ "Gervill – Software Synthesizer". Archived from the original on 2011-10-04. Retrieved 2008-06-01.
  13. ^ "Crypto has been added to OpenJDK". 2007-09-27. Archived from the original on 2007-12-25. Retrieved 2007-10-07.
  14. ^ "font-scaler projectpage". Archived from the original on 2015-06-10. Retrieved 2007-05-19.
  15. ^ a b c "Java2D project page". Archived from the original on 2007-05-16. Retrieved 2007-05-19.
  16. ^ "Freetype font rasteriser". 2007-08-07. Archived from the original on 2009-01-07. Retrieved 2007-11-24.
  17. ^ "Welcome to the PhoneME project". Archived from phoneme.dev.java.net/ the original on 2007-06-10. {{cite web}}: Check |url= value (help)
  18. ^ "graphics-rasterizer project page". Archived from the original on 2007-05-16. Retrieved 2007-05-19.
  19. ^ "Javascript is encumbered and there is no javascript plugin support". IcedTea. 2008-03-11. Archived from the original on 2008-09-27. Retrieved 2008-06-01. Changing Summary. JavaScript is no longer encumbered, but we still need liveconnect support.
  20. ^ Kelly O'Hair (December 2010). "OpenJDK7 and OpenJDK6 Binary Plugs Logic Removed". Oracle Corporation. Archived from the original on 2022-04-07. Retrieved 2011-11-25.

Read other articles:

DemiAlbum studio karya Demi LovatoDirilis14 Mei 2013 (2013-05-14)Direkam2012–13GenrePop, dance-pop[1]Durasi47:48LabelHollywoodProduser Josh Alexander Mitch Allan Battleroy Jason Evigan Carl Falk Toby Gad Andrew Goldstein Jonas Jeberg Emanuel Kiriakou The Monsters and the Strangerz Anne Preven David DQ Quiñones Matt Rad Rami Yacoub Jarrad Rogers Matt Squire Billy Steinberg Ryan Tedder Noel Zancanella Kronologi Demi Lovato Unbroken(2011)Unbroken2011 Demi(2013) Confident(2015...

 

Pascal Feindouno Feindouno con la maglia della Guinea nel 2006 Nazionalità  Guinea Altezza 176 cm Peso 69 kg Calcio Ruolo Attaccante Termine carriera 1⁰ luglio 2016 Carriera Giovanili 1996-1997 Kamsar1998 Hirondelles Squadre di club1 1998-2001 Bordeaux39 (3)2001-2002 Lorient30 (6)2002-2004 Bordeaux102 (21)2004-2008 Saint-Étienne171 (49)2008-2010 Al-Sadd24 (11)2009-2010→  Al-Rayyan14 (5)2010→  Al-Nassr5 (2)2011 Monaco5 (0)2011-2012...

 

American businessman Archibald Alexander RitchieBorn(1806-01-28)28 January 1806New Castle County, Delaware, USDied9 July 1856(1856-07-09) (aged 50)Napa County, California, USNationalityAmerican Archibald Alexander Ritchie (28 January 1806 – 9 July 1856) was an American ship captain, China trader, and California businessman. Early years Ritchie's family originated in Scotland and Ireland. His grandfather, William Ritchie, was born on board the ship carrying Ritchie's great-grandparents ...

ПророкNext Жанр фантастикабойовикРежисер Лі ТамахоріПродюсер Ніколас КейджТодд ГарнерСценарист Гарі ГолдманДжонатан ХенсліПол БернбаумНа основі The Golden MandУ головних ролях Ніколас КейджДжуліанн МурДжессіка БілТомас КречманнПітер ФалькОператор Девід ТаттерсоллdКомпози

 

Croatian footballer and manager Krunoslav Jurčić Jurčić with Dinamo Zagreb in 2013Personal informationDate of birth (1969-11-26) 26 November 1969 (age 54)Place of birth Ljubuški, SR Bosnia and Herzegovina, YugoslaviaHeight 1.88 m (6 ft 2 in)Position(s) Defensive midfielderSenior career*Years Team Apps (Gls)1988–1991 Dinamo Zagreb 0 (0)1991–1993 Inker Zaprešić 39 (9)1993–1995 Istra 46 (14)1995–1996 Beveren 20 (0)1996–1999 Dinamo Zagreb 84 (17)1999–2001 To...

 

Eleições legislativas portuguesas de 1999 Distritos: Aveiro | Beja | Braga | Bragança | Castelo Branco | Coimbra | Évora | Faro | Guarda | Leiria | Lisboa | Portalegre | Porto | Santarém | Setúbal | Viana do Castelo | Vila Real | Viseu | Açores | Madeira | Estrangeiro ← 1995 •  • 2002 → Eleições legislativas portuguesas de 1999 no distrito de Leiria 10 deputados à Assembleia da República Demografia eleitoral Hab. inscritos: ...

У Вікіпедії є статті про інших людей із прізвищем Антропов. Антропов Олег Петровичлатис. Oļegs AntropovsЗагальна інформаціяГромадянство  ЛатвіяНародження 5 листопада 1947(1947-11-05)Туркестанська область, Казахська РСР, СРСРСмерть 15 жовтня 2023(2023-10-15)[1] (75 років)СпортВид спорту в

 

Поліна Гур'єва Загальна інформаціяГромадянство  ТуркменістанНародження 5 жовтня 1999(1999-10-05) (24 роки)АшгабатAlma mater The National Institute of Sports and Tourism of Turkmenistand[1]СпортКраїна ТуркменістанВид спорту важка атлетика Участь і здобутки  Поліна Гур'єва у Вікісховищі Нагороди Олі�...

 

ملعب السابع من نيسانمعلومات عامةلقب ملعب القامشليالاسم الكامل ملعب السابع من نيسانالبلد  سوريا الاستعمالالرياضة كرة القدم المستضيف نادي الجهاد المالك الحكومة السوريةالإدارة وزارة الإدارة المحلية السوريةمعلومات أخرىالطاقة الاستيعابية 7500الأرضية عشبيةالموقع الجغرا�...

Este artigo é órfão, pois não contém artigos que apontem para ele. Por favor, ajude criando ligações ou artigos relacionados a este tema. Adriano Peracchi Adriano PeracchiPeracchi em 2005 Nascimento Adriano Lúcio Peracchi3 de agosto de 1938 (85 anos) São Paulo, Brasil Nacionalidade brasileira Alma mater Universidade Federal Rural do Rio de Janeiro Prêmios Honra ao mérito - Sociedade Brasileira de Zoologia (1998)Membro honorário - Sociedade Brasileira de Zoologia (2002)Pr...

 

Polish actor and television presenter For the Polish footballer, see Kazimierz Kaczor (footballer). Kazimierz KaczorKazimierz Kaczor, 2016Born (1941-02-09) 9 February 1941 (age 82)Kraków, PolandYears active1968 - Kazimierz Julian Kaczor (born February 9, 1941) is a Polish actor and television presenter. He has made over 40 appearances in film and television.[1] He starred in the 1986-1987 television series Zmiennicy but is well known for hosting from 1996-2003 the first ver...

 

Список офіційних закордонних візитів та робочих поїздок в межах України, зроблених 6-м Президентом України Володимиром Зеленським у 2020 році. Ця стаття є частиноюсерії статей проВолодимира Зеленського 6-й Президент України (2019—дотепер) Дебати кандидатів у Президенти Укра

Scottish statesman and colonial administrator (1812–1860) The Most HonourableThe Marquess of DalhousieKT PCGovernor-General of IndiaIn office12 January 1848 – 28 February 1856MonarchVictoriaPrime MinisterLord John RussellThe Earl of DerbyThe Earl of AberdeenThe Viscount PalmerstonPreceded byThe Viscount HardingeSucceeded byThe Viscount CanningPresident of the Board of TradeIn office5 February 1845 – 27 June 1846MonarchVictoriaPrime MinisterSir Robert PeelPreceded b...

 

Laila BoonyasakLaila Boonyasak (tengah)LahirChermarn Boonyasak15 September 1982 (umur 41)Bangkok, ThailandNama lainPloyPendidikanKolese LumnampingPekerjaanPemeran, Peraga busanaTahun aktif1995–sekarangAgenChannel 3 (2006–2017)Dikenal atasBuppah RahtreeThe Love of SiamEternityRabum Duang DaoSamee Tee ThraThe Face ThailandKerabatDaran Boonyasak (saudari) Laila Boonyasak (bahasa Thai: ไลลา บุญยศักดิ์, RTGS: Laila Bunyasak), atau dulunya Chermarn...

 

Christoph Ahlhaus (2011) Christoph Ahlhaus (* 28. August 1969 in Heidelberg) ist ein deutscher Politiker (CDU). Er war vom 25. August 2010 bis zum 7. März 2011 Erster Bürgermeister der Freien und Hansestadt Hamburg. Inhaltsverzeichnis 1 Leben 2 Politik in der CDU 3 Mitglied des Hamburger Senats 4 Erster Bürgermeister der Freien und Hansestadt Hamburg 5 Neuwahl und Ende der Amtszeit 6 Niederlegung des Mandats 7 Siehe auch 8 Einzelnachweise 9 Weblinks Leben Christoph und Simone Ahlhaus ...

Second largest container port in India Jawaharlal Nehru Port जवाहरलाल नेहरू बंदरThe port along with Belpada Canal on the top left and an HMM container ship docked at bottomLocationCountry IndiaLocationNavi Mumbai, Raigad district, MaharashtraCoordinates18°57′N 72°57′E / 18.950°N 72.950°E / 18.950; 72.950[1]DetailsOpened26 May 1989Operated byJawaharlal Nehru Port Trust Authority (JNPTA)Owned byGovernment of IndiaNo....

 

2018 song by Hozier MovementSingle by Hozierfrom the album Wasteland, Baby! Released14 November 2018Length3:57Label Rubyworks Island Songwriter(s)HozierProducer(s) Hozier Markus Dravs Hozier singles chronology Nina Cried Power (2018) Movement (2018) Almost (Sweet Music) (2019) Music videoMovement on YouTube Movement is a song recorded by Irish singer-songwriter Hozier for his second studio album, Wasteland, Baby!. It was released on 14 November 2018 as the second single from the record, peaki...

 

Shopping mall in Allentown, Pennsylvania, U.S. This article is about the shopping mall in Allentown, Pennsylvania. For the street in Cork, Ireland, see South Mall, Cork. South MallSouth Mall's main entrance in June 2015LocationSalisbury Township, Lehigh County, Pennsylvania, U.S.Address3300 Lehigh St., Allentown, Pennsylvania, 18103, U.S.Opening date1975; 48 years ago (1975)[1]DeveloperHess'sOwnerNicholas Park Mall LLCNo. of stores and services35No. of anchor tenants...

Computer scientist Manindra AgrawalBorn (1966-05-20) 20 May 1966 (age 57)NationalityIndianAlma materIndian Institute of Technology KanpurKnown forAKS primality testAwardsClay Research Award (2002) S S Bhatnagar Prize (2003) ICTP Prize (2003) Fulkerson Prize (2006) Gödel Prize (2006) Infosys Prize (2008) G.D. Birla Award for Scientific Research (2009)Padma Shri (2013)Scientific careerFieldsComputer ScienceInstitutionsIndian Institute of Technology KanpurDoctoral advisorSomenath...

 

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: WWW album – news · newspapers · books · scholar · JSTOR (November 2015) (Learn how and when to remove this template message)2013 studio album by Kim JaejoongWWW (Who When Why)Studio album by Kim JaejoongReleased29 October 2013[1]Recorded201...

 
Kembali kehalaman sebelumnya