Java version history

The Java language has undergone several changes since JDK 1.0 as well as numerous additions of classes and packages to the standard library. Since J2SE 1.4, the evolution of the Java language has been governed by the Java Community Process (JCP), which uses Java Specification Requests (JSRs) to propose and specify additions and changes to the Java platform. The language is specified by the Java Language Specification (JLS); changes to the JLS are managed under JSR 901. In September 2017, Mark Reinhold, chief Architect of the Java Platform, proposed to change the release train to "one feature release every six months" rather than the then-current two-year schedule.[1][2] This proposal took effect for all following versions, and is still the current release schedule.

In addition to the language changes, other changes have been made to the Java Class Library over the years, which has grown from a few hundred classes in JDK 1.0 to over three thousand in J2SE 5. Entire new APIs, such as Swing and Java2D, have been introduced, and many of the original JDK 1.0 classes and methods have been deprecated. Some programs allow conversion of Java programs from one version of the Java platform to an older one (for example Java 5.0 backported to 1.4) (see Java backporting tools).

Regarding Oracle Java SE Support Roadmap,[3] version 20 is the latest one, and versions 17, 11 and 8 are the currently supported long-term support (LTS) versions, where Oracle Customers will receive Oracle Premier Support. Java 8 LTS the last free software public update for commercial use was released by Oracle in March 2022, while Oracle continues to release no-cost public Java 8 updates for development[3] and personal use indefinitely.[4] Java 7 is no longer publicly supported. For Java 11, long-term support will not be provided by Oracle for the public; instead, the broader OpenJDK community, as Eclipse Adoptium or others, is expected to perform the work.[5]

Java 17 the latest (3rd) LTS was released on September 14, 2021.[6]

Release table

Version class file
format
version[7]
Release
date
End of Free
Public Updates[8][9][10][11][12][13][14]
Extended
Support Until
Old version, no longer maintained: JDK 1.04523rd January 1996May 1996
Old version, no longer maintained: JDK 1.145.32nd February 1997October 2002?
Old version, no longer maintained: J2SE 1.2464th December 1998September 2003?
Old version, no longer maintained: J2SE 1.3478th May 2000October 2010?
Old version, no longer maintained: J2SE 1.44813th February 2002October 2008February 2013
Old version, no longer maintained: Java SE 54929th September 2004November 2009April 2015
Old version, no longer maintained: Java SE 65011th December 2006April 2013December 2018 for Oracle[8]
December 2026 for Azul[11]
Old version, no longer maintained: Java SE 75128th July 2011September 2022 for OpenJDK
Maintained by Oracle until May 2015[15],
Red Hat until August 2020[16] and
Azul until September 2022[17]
July 2022 for Oracle[8]
June 2020 for Red Hat[12]
December 2027 for Azul[11]
Older version, yet still maintained: Java SE 8 (LTS)5218th March 2014(OpenJDK currently maintained by Red Hat)[18]
March 2022 for Oracle (commercial)
December 2030 for Oracle (non-commercial)
December 2030 for Azul[11]
May 2026 for IBM Semeru[13]
At least May 2026 for Eclipse Adoptium[9]
At least May 2026 for Amazon Corretto[10]
December 2030 for Oracle[8]
November 2026 for Red Hat[12]
Old version, no longer maintained: Java SE 95321st September 2017March 2018 for OpenJDK
Old version, no longer maintained: Java SE 105420th March 2018September 2018 for OpenJDK
Older version, yet still maintained: Java SE 11 (LTS)5525th September 2018(OpenJDK currently maintained by Red Hat)[19]
September 2026 for Azul[11]
October 2024 for IBM Semeru[13]
At least October 2024 for Eclipse Adoptium[9]
At least September 2027 for Amazon Corretto[10]
At least October 2024 for Microsoft[20][14]
September 2026 for Oracle[8]
September 2026 for Azul[11]
October 2024 for Red Hat[12]
Old version, no longer maintained: Java SE 125619th March 2019September 2019 for OpenJDK
Old version, no longer maintained: Java SE 135717th September 2019(OpenJDK currently maintained by Azul)[21]
March 2023 for Azul[11]
Old version, no longer maintained: Java SE 145817th March 2020September 2020 for OpenJDK
Old version, no longer maintained: Java SE 155916th September 2020(OpenJDK currently maintained by Azul)[22]
March 2023 for Azul[11]
Old version, no longer maintained: Java SE 166016th March 2021September 2021 for OpenJDK
Older version, yet still maintained: Java SE 17 (LTS)6114th September 2021(OpenJDK currently maintained by SAP)[23]
September 2029 for Azul[11]
October 2027 for IBM Semeru[13]
At least September 2027 for Microsoft[14]
At least September 2027 for Eclipse Adoptium [9]
September 2029 or later for Oracle[8]
September 2029 for Azul[11]
October 2027 for Red Hat[12]
Old version, no longer maintained: Java SE 186222nd March 2022September 2022 for OpenJDK and Adoptium
Old version, no longer maintained: Java SE 196320th September 2022March 2023 for OpenJDK
Current stable version: Java SE 206421st March 2023September 2023 for OpenJDK
Future release: Java SE 21 (LTS)65September 2023September 2028September 2031 for Oracle[8]
Legend:
Old version
Older version, still maintained
Latest version
Latest preview version
Future release

JDK 1.0

JDK 1.0
ReleasedJanuary 23, 1996 (1996-01-23)

The first version was released on January 23, 1996.[24][25] The first stable version, JDK 1.0.2, is called Java 1.[25]

JDK 1.1

JDK 1.1
ReleasedFebruary 19, 1997 (1997-02-19)

Major additions in the release on February 19, 1997 included:[26]

J2SE 1.2

J2SE 1.2
CodenamePlayground
ReleasedDecember 8, 1998 (1998-12-08)

The release on December 8, 1998 and subsequent releases through J2SE 5.0 were rebranded retrospectively Java 2 and the version name "J2SE" (Java 2 Platform, Standard Edition) replaced JDK to distinguish the base platform from J2EE (Java 2 Platform, Enterprise Edition) and J2ME (Java 2 Platform, Micro Edition). This was a very significant release of Java as it tripled the size of the Java platform to 1520 classes in 59 packages. Major additions included:[28]

J2SE 1.3

J2SE 1.3
CodenameKestrel
ReleasedMay 8, 2000 (2000-05-08)

The most notable changes in the May 8, 2000 release were:[29][30]

Java 1.3 is the last release of Java to officially support Microsoft Windows 95.[31]

J2SE 1.4

J2SE 1.4
CodenameMerlin
ReleasedFebruary 6, 2002 (2002-02-06)
Support ended
PublicOctober 2008 (2008-10)
PaidFebruary 2013 (2013-02)

The February 6, 2002 release was the first release of the Java platform developed under the Java Community Process as JSR 59. Major changes included:[32][33]

Public support and security updates for Java 1.4 ended in October 2008. Paid security updates for Oracle customers ended in February 2013.[34]

Java SE 5

Java SE 5
CodenameTiger
ReleasedSeptember 30, 2004 (2004-09-30)
Support ended
PublicNovember 2009 (2009-11)
PaidApril 2015 (2015-04)

The release on September 30, 2004 was originally numbered 1.5, which is still used as the internal version number. The number was changed to "better reflect the level of maturity, stability, scalability and security of the J2SE".[35] This version was developed under JSR 176.

Java SE 5 entered its end-of-public-updates period on April 8, 2008; updates are no longer available to the public as of November 3, 2009. Updates were available to paid Oracle customers until May 2015.[3]

Tiger added a number of significant new language features:[36][37]

  • Generics: provides compile-time (static) type safety for collections and eliminates the need for most typecasts (type conversion) (specified by JSR 14)
  • Metadata: also called annotations; allows language constructs such as classes and methods to be tagged with additional data, which can then be processed by metadata-aware utilities (specified by JSR 175)
  • Autoboxing/unboxing: automatic conversions between primitive types (such as int) and primitive wrapper classes (such as Integer) (specified by JSR 201)
  • Enumerations: the enum keyword creates a typesafe, ordered list of values (such as Day.MONDAY, Day.TUESDAY, etc.); previously this could only be achieved by non-typesafe constant integers or manually constructed classes (typesafe enum pattern) (specified by JSR 201)
  • Varargs: the last parameter of a method can now be declared using a type name followed by three dots (e.g. void drawtext(String... lines)); in the calling code any number of parameters of that type can be used and they are then placed in an array to be passed to the method, or alternatively the calling code can pass an array of that type
  • Enhanced for each loop: the for loop syntax is extended with special syntax for iterating over each member of either an array or any Iterable, such as the standard Collection classes (specified by JSR 201)
  • Improved semantics of execution for multi-threaded Java programs; the new Java memory model addresses issues of complexity, effectiveness, and performance of previous specifications[38]
  • Static imports

There were also the following improvements to the standard libraries:

Java 5 is the last release of Java to officially support Microsoft Windows 98 and Windows ME,[40] while Windows Vista was the newest version of Windows that Java SE 5 was supported on prior to Java 5 going end-of-life in October of 2009.[34]

Java 5 Update 5 (1.5.0_05) is the last release of Java to work on Windows 95 (with Internet Explorer 5.5 installed) and Windows NT 4.0.[41]

Java 5 was first available on Apple Mac OS X 10.4 (Tiger)[42] and was the default version of Java installed on Apple Mac OS X 10.5 (Leopard).

Public support and security updates for Java 1.5 ended in November 2009. Paid security updates for Oracle customers ended in April 2015.

Versioning change

This version introduced a new versioning system for the Java language, although the old versioning system continued to be used for developer libraries:

Both version numbers "1.5.0" and "5.0" are used to identify this release of the Java 2 Platform Standard Edition. Version "5.0" is the product version, while "1.5.0" is the developer version. The number "5.0" is used to better reflect the level of maturity, stability, scalability and security of the J2SE.

"Version 1.5.0 or 5.0?", Java release notes[43]

This correspondence continued through later releases (Java 6 = JDK 1.6, Java 7 = JDK 1.7, and so on).

Java SE 6

Java SE 6
CodenameMustang
ReleasedNovember 11, 2006 (2006-11-11)
Support ended
PublicFebruary 2013 (2013-02)

As of the version released on December 11, 2006, Sun replaced the name "J2SE" with Java SE and dropped the ".0" from the version number.[44] Internal numbering for developers remains 1.6.0.[45]

This version was developed under JSR 270.

During the development phase, new builds including enhancements and bug fixes were released approximately weekly. Beta versions were released in February and June 2006, leading up to a final release that occurred on December 11, 2006.

Major changes included in this version:[46][47]

  • Support for older Win9x versions dropped; unofficially, Java 6 Update 7 was the last release of Java shown to work on these versions of Windows. This is believed to be due to the major changes in Update 10.
  • Scripting Language Support (JSR 223): Generic API for tight integration with scripting languages, and built-in Mozilla JavaScript Rhino integration.
  • Dramatic performance improvements for the core platform,[48][49] and Swing.
  • Improved Web Service support through JAX-WS (JSR 224).
  • JDBC 4.0 support (JSR 221).
  • Java Compiler API (JSR 199): an API allowing a Java program to select and invoke a Java Compiler programmatically.
  • Upgrade of JAXB to version 2.0: Including integration of a StAX parser.
  • Support for pluggable annotations (JSR 269).[50]
  • Many GUI improvements, such as integration of SwingWorker in the API, table sorting and filtering, and true Swing double-buffering (eliminating the gray-area effect).
  • JVM improvements include: synchronization and compiler performance optimizations, new algorithms and upgrades to existing garbage collection algorithms, and application start-up performance.

Java 6 can be installed to Mac OS X 10.5 (Leopard) running on 64-bit (Core 2 Duo and higher) processor machines.[51] Java 6 is also supported by both 32-bit and 64-bit machines running Mac OS X 10.6 (Snow Leopard).

Java 6 reached the end of its supported life in February 2013, at which time all public updates, including security updates, were scheduled to be stopped.[52][53] Oracle released two more updates to Java 6 in March and April 2013, which patched some security vulnerabilities.[54][55]

Java SE 7

Java SE 7
CodenameDolphin[56]
ReleasedJuly 28, 2011 (2011-07-28)
Support ended
PublicApril 2015 (2015-04)
PaidJune 2022 (2022-06)

Java 7 is a major update that was launched on July 7, 2011[57] and was made available for developers on July 28, 2011.[58] The development period was organized into thirteen milestones; on June 6, 2011, the last of the thirteen milestones was finished.[58][59] On average, 8 builds (which generally included enhancements and bug fixes) were released per milestone. The feature list at the OpenJDK 7 project lists many of the changes.

Additions in Java 7 include:[60]

  • Strings in switch[65]
  • Automatic resource management in try-statement aka try-with-resources statement[66]
  • Improved type inference for generic instance creation, aka the diamond operator <>[67]
  • Simplified varargs method declaration[68]
  • Binary integer literals[69]
  • Allowing underscores in numeric literals[70]
  • Catching multiple exception types and rethrowing exceptions with improved type checking[71]
  • Concurrency utilities under JSR 166[72]
  • New file I/O library (defined by JSR 203) adding support for multiple file systems, file metadata and symbolic links. The new packages are java.nio.file, java.nio.file.attribute and java.nio.file.spi[73][74]
  • Timsort is used to sort collections and arrays of objects instead of merge sort
  • Library-level support for elliptic curve cryptography algorithms
  • An XRender pipeline for Java 2D, which improves handling of features specific to modern GPUs
  • New platform APIs for the graphics features originally implemented in version 6u10 as unsupported APIs[75]
  • Enhanced library-level support for new network protocols, including SCTP and Sockets Direct Protocol
  • Upstream updates to XML and Unicode
  • Java deployment rule sets[76]

Lambda (Java's implementation of lambda functions), Jigsaw (Java's implementation of modules), and part of Coin were dropped from Java 7, and released as part of Java 8 (except for Jigsaw, which was released in Java 9).[77][78]

Java 7 was the default version to download on java.com from April 2012 until Java 8 was released.[79]

Java 7 updates

Oracle issued public updates to the Java 7 family on a quarterly basis[80] until April 2015 when the product reached the end of its public availability.[81] Further updates for JDK 7, which continued until July 2022, are only made available to customers with a support contract.[82]

Java SE 8

Java SE 8
LTS version
ReleasedMarch 18, 2014 (2014-03-18)
# of JEPs8

Java 8 was released on March 18, 2014,[83][84] and included some features that were planned for Java 7 but later deferred.[85]

Work on features was organized in terms of JDK Enhancement Proposals (JEPs).[86]

  • JSR 335, JEP 126: Language-level support for lambda expressions (officially, lambda expressions; unofficially, closures) under Project Lambda[87] and default methods (virtual extension methods)[88][89][90] which can be used to add methods to interfaces without breaking existing implementations. There was an ongoing debate in the Java community on whether to add support for lambda expressions.[91][92] Sun later declared that lambda expressions would be included in Java and asked for community input to refine the feature.[93] Supporting lambda expressions also enables functional-style operations on streams of elements, such as MapReduce-inspired transformations on collections. Default methods can be used by an author of an API to add new methods to an interface without breaking the old code using it. Although it was not their primary intent,[88] default methods can also be used for multiple inheritance of behavior (but not state).

Java 8 is not supported on Windows XP[95] but as of JDK 8 update 25, it can still be installed and run under Windows XP.[96] Previous updates of JDK 8 could be run under XP by downloading archived zip format file and unzipping it for the executable.The last version of Java 8 could run on XP is update 251.But its components compatibility starts to break on unsupported OS in early build during Java 8 updates development.

From October 2014, Java 8 was the default version to download (and then again the download replacing Java 9) from the official website.[97] "Oracle will continue to provide Public Updates and auto updates of Java SE 8, Indefinitely for Personal Users".[4]

Java SE 9

Java SE 9
ReleasedSeptember 21, 2017 (2017-09-21)
# of JEPs9

Java SE 9 was made available on September 21, 2017,[98] due to controversial acceptance of the current implementation of Project Jigsaw by Java Executive Committee,[99] which led Oracle to fix some open issues and concerns, and to refine some critical technical questions. In the last days of June 2017, Java Community Process expressed nearly unanimous consensus on the proposed Module System scheme.[100]

The first Java 9 release candidate was released on August 9, 2017.[106] The first stable release of Java 9 was on September 21, 2017.[107]

History

At JavaOne 2011, Oracle discussed features they hoped to release for Java 9 in 2016.[108] Java 9 should include better support for multi-gigabyte heaps, better native code integration, a different default garbage collector (G1, for "shorter response times")[109] and a self-tuning JVM.[110] In early 2016, the release of Java 9 was rescheduled for March 2017[111] and later again postponed four more months to July 2017.[112]

Java SE 10

Java SE 10
ReleasedMarch 20, 2018 (2018-03-20)
# of JEPs12

OpenJDK 10 was released on March 20, 2018, with twelve new features confirmed.[113] Among these features were:

The first of these JEP 286 Local-Variable Type Inference, allows the var keyword to be used for local variables with the actual type calculated by the compiler. So we can do:

var list = new ArrayList<String>(); // infers ArrayList<String>
var stream = list.stream();         // infers Stream<String>

Java SE 11

Java SE 11
LTS version
ReleasedSeptember 25, 2018 (2018-09-25)
# of JEPs17
Removal(s)
NotableJava applets, Java Web Start, JavaFX, JavaEE, and CORBA modules

JDK 11 was released on September 25, 2018 and the version is currently open for bug fixes. It offers LTS, or Long-Term Support. Among others, Java 11 includes a number of new features, such as:[114]

A number of features from previous releases were dropped; in particular, Java applets and Java Web Start are no longer available. JavaFX, Java EE and CORBA modules have been removed from JDK.[115]

Java SE 12

Java SE 12
ReleasedMarch 19, 2019 (2019-03-19)
# of JEPs8
Addition(s)
Preview(s)Enhanced switch statements

JDK 12 was released on March 19, 2019. Among others, Java 12 includes a number of new features, such as:[116]

The preview feature JEP 325 extends the switch statement so it can also be used as an expression, and adds a new form of case label where the right hand side is an expression. No break statement is needed. For complex expressions a yield statement can be used. This becomes standard in Java SE 14.

int ndays = switch(month) {
    case JAN, MAR, MAY, JUL, AUG, OCT, DEC -> 31;
    case APR, JUN, SEP, NOV -> 30;
    case FEB -> {
        if (year % 400 == 0) yield 29;
        else if (year % 100 == 0) yield 28;
        else if (year % 4 == 0) yield 29;
        else yield 28; }
};

Java SE 13

Java SE 13
ReleasedSeptember 17, 2019 (2019-09-17)
# of JEPs5
Addition(s)
Preview(s)Enhanced switch statements, text blocks

JDK 13 was released on September 17, 2019. Java 13 includes the following new features, as well as "hundreds of smaller enhancements and thousands of bug fixes".[117]

JEP 355 Text Blocks allows multiline string literals:

String html = """
              <html lang="en">
                  <body>
                      <p>Hello, world</p>
                  </body>
              </html>
              """;

Java SE 14

Java SE 14
ReleasedMarch 17, 2020 (2020-03-17)
# of JEPs16
Addition(s)
NotableHelpful NullPointerExceptions, enhanced switch statements
Preview(s)Pattern matching for instanceof, records, text blocks
Incubatingjpackager, Foreign memory access
Removal(s)
NotableRemove Concurrent Mark Sweep garbage collector

JDK 14 was released on March 17, 2020. Java 14 includes the following new features, as well as "hundreds of smaller enhancements and thousands of bug fixes".[118]

JEP 305, Pattern Matching for instanceof simplifies the common case of an instanceof test being immediately followed by cast, replacing

if (obj instanceof String) {
    String s = (String) obj;
    System.out.println( s.length() );
}

with

if (obj instanceof String s) {
    System.out.println( s.length() );
}

JEP 359 Records allows easy creation of simple immutable Tuple-like classes.[119]

record Point(int x, int y) { }
Point p = new Point(3,4);
System.out.println( p.x() );

Java SE 15

Java SE 15
ReleasedSeptember 15, 2020 (2020-09-15)
# of JEPs14
Addition(s)
NotableHidden classes, ZGC (garbage collector), Shenandoah (garbage collector), text blocks
Preview(s)Sealed classes, pattern matching of instanceof, records
IncubatingForeign-memory access
Removal(s)
NotableJavaScript engine, Solaris and SPARC ports

JDK 15 was released on September 15, 2020. Java 15 adds e.g. support for multi-line string literals (aka Text Blocks). The Shenandoah and Z garbage collectors (latter sometimes abbreviated ZGC) are now ready for use in production (i.e. no longer marked experimental). Support for Oracle's Solaris operating system (and SPARC CPUs) is dropped (while still available in e.g. Java 11). The Nashorn JavaScript Engine is removed. Also removed some root CA certificates.

JEP 360 Sealed Classes adds sealed classes and interfaces that restrict which other classes or interfaces may extend or implement them. Only those classes specified in a permits clause may extend the class or interface.

package com.example.geometry;

public abstract sealed class Shape
    permits Circle, Rectangle, Square {...}

Together with records, sealed classes are sum types. They work well with other recent features like records, switch expressions, and pattern matching for instance-of. They all form part of a system for "Pattern matching in Java" first discussed by Gavin Bierman and Brian Goetz, in September 2018.[120]

Java SE 16

Java SE 16
ReleasedMarch 16, 2021 (2021-03-16)
# of JEPs17
Addition(s)
NotableWindows/AArch64 Port, jpackager, pattern matching for instanceof, records
Preview(s)Sealed classes
IncubatingForeign linker, Foreign-memory access

JDK 16 was released on March 16, 2021. Java 16 removes Ahead-of-Time compilation (and Graal JIT) options.[121] The Java implementation itself was and is still written in C++, while as of Java 16, more recent C++14 (but still not e.g. C++17 or C++20) is allowed. The code was also moved to GitHub, dropping Mercurial as the source control system.

Java SE 17

Java SE 17
LTS version
ReleasedSeptember 14, 2021 (2021-09-14)
# of JEPs14
Addition(s)
NotablemacOS/AArch64 Port, sealed classes
Preview(s)Switch pattern matching
IncubatingVector API, Foreign function & memory API
Removal(s)
NotableAOT compiler, RMI activation, strictfp keyword made obsolete (PEP 306)

JDK 17 is the current long-term support (LTS) release since September 2021.[122] Java 17 is the 2nd long-term support (LTS) release since switching to the new 6-month release cadence (the first being Java 11).

JEP 406 extends the pattern matching syntax used in instanceof operations to switch statements and expressions. It allows cases to be selected based on the type of the argument, null cases and refining patterns

Object o = ...;
return switch (o) {
        case null       -> "Null";
        case String s   -> String.format("String %s", s);
        case Long l     -> String.format("long %d", l);
        case Double d   -> String.format("double %f", d);
        case Integer i && i > 0                            // refining patterns
                        -> String.format("positive int %d", i);
        case Integer i && i == 0 
                        -> String.format("zero int %d", i);
        case Integer i && i < 0 
                        -> String.format("negative int %d", i);
        default         -> o.toString();
    };
};

Java SE 18

Java SE 18
ReleasedMarch 22, 2022 (2022-03-22)
# of JEPs9
Addition(s)
Notable
  • UTF by default
  • Javadoc code snippets
Preview(s)Switch pattern matching
Incubating
  • Vector API
  • Foreign function & memory API
Removal(s)
NotableDeprecated finalization for removal

JDK 18 was released on March 22, 2022.

Java SE 19

Java SE 19
ReleasedSeptember 20, 2022 (2022-09-20)
# of JEPs7
Addition(s)
Preview(s)
  • Foreign function & memory API
  • Switch pattern matching
Incubating
  • Vector API
  • Structured concurrency

JDK 19 was released on 20 September 2022.[123]

JEP 405 allows record patterns, extending the pattern matching capabilities of instanceof operators, and switch expressions, to include record patterns that explicitly refer to the components of the record.

record Rectangle(int x, int y, int w, int h) {}

int area(Object o) {
    if (o instanceof Rectangle(int x, int y, int w, int h)) {
        return w * h;
    }
    return 0;
}

Such patterns can include nested patterns, where the components of records are themselves records, allowing patterns to match more object graphs.

Java SE 20

Java SE 20
ReleasingMarch 21, 2023 (2023-03-21)
# of JEPs7
Addition(s)
IncubatingScoped values

Java 20 was released on 21 March 2023.[124]

Future features

  • Project Valhalla: Value types, objects without identity but with an efficient memory layout and leading to better results of escape analysis.
  • Project Panama: Improved interoperability with native code, to enable Java source code to call functions and use data types from other languages, in a way that is easier and has better performance than today. Vector API (a portable and relatively low-level abstraction layer for SIMD programming) is also developed under Project Panama umbrella.
  • Project Loom: Virtual threads, a lightweight user-mode scheduled alternative to standard OS managed threads. Virtual threads are mapped to OS threads in a many-to-many relationship, in contrast to the many-to-one relationship from the original green threads implementation in early versions of Java.

Implementations

The officially supported Java platform, first developed at Sun and now stewarded by Oracle, is Java SE. Releases are based on the OpenJDK project, a free and open-source project with an open development model. Other Java implementations exist, however—in part due to Java's early history as proprietary software. In contrast, some implementations were created to offer some benefits over the standard implementation, often the result of some area of academic or corporate-sponsored research. Many Linux distributions include builds of OpenJDK through the IcedTea project started by Red Hat, which provides a more straightforward build and integration environment.

Visual J++ and the Microsoft Java Virtual Machine were created as incompatible implementations. After the Sun v. Microsoft lawsuit, Microsoft abandoned it and began work on the .NET platform. In 2021, Microsoft started distributing compatible "Microsoft Build of OpenJDK" for Java 11 first then also for Java 17. Their builds support not only Windows, but also Linux and macOS.

Other proprietary Java implementations are available, such as Azul's Zing. Azul offers certified open source OpenJDK builds under the Zulu moniker.

Prior to the release of OpenJDK, while Sun's implementation was still proprietary, the GNU Classpath project was created to provide a free and open-source implementation of the Java platform. Since the release of JDK 7, when OpenJDK became the official reference implementation, the original motivation for the GNU Classpath project almost completely disappeared, and its last release was in 2012.

The Apache Harmony project was started shortly before the release of OpenJDK. After Sun's initial source code release, the Harmony project continued, working to provide an implementation under a lax license, in contrast to the protective license chosen for OpenJDK. Google later developed Android and released it under a lax license. Android incorporated parts of the Harmony project, supplemented with Google's own Dalvik virtual machine and ART. Apache Harmony has since been retired, and Google has switched its Harmony components with equivalent ones from OpenJDK.

Both Jikes and Jikes RVM are open-source research projects that IBM developed.

Several other implementations exist that started as proprietary software but are now open source. IBM initially developed OpenJ9 as the proprietary J9[125] but has since relicensed the project and donated it to the Eclipse Foundation. JRockit is a proprietary implementation that was acquired by Oracle and incorporated into subsequent OpenJDK versions.

References

  1. Reinhold, Mark (2017-09-06). "Moving Java Forward Faster". Retrieved 2017-09-16.
  2. "Calling 'all aboard' on the six-month Java release train". theserverside.com. 2017-09-12. Retrieved 2017-09-16.
  3. "Oracle Java SE Support Roadmap". www.oracle.com.
  4. "Oracle Java SE Support Roadmap". Retrieved 2021-02-17.
  5. Reinhold, Mark (2018-08-17). "What does LTS mean for OpenJDK?". Retrieved 2018-08-28.
  6. "JDK 17". openjdk.java.net. Retrieved 2021-08-26.
  7. "Chapter 4. The class File Format".
  8. "Oracle Java SE Support Roadmap". www.oracle.com.
  9. "Support | AdoptOpenJDK". adoptopenjdk.net.
  10. "Amazon Corretto 8 & 11 support extended".
  11. "Azul Support Roadmap". Azul | Better Java Performance, Superior Java Support. Retrieved 2021-07-08.
  12. "OpenJDK Life Cycle and Support Policy". Retrieved 2022-09-15.
  13. "Semeru Runtimes support". www.ibm.com. 2021-09-28. Retrieved 2021-10-15.
  14. "Support roadmap for the Microsoft Build of OpenJDK". docs.microsoft.com. Retrieved 2021-08-03. Support for OpenJDK 17 on Windows x86 32 bit will end on January 10th, 2023 following the End of Life support of Windows 32 bit versions.
  15. "Maintainer Resignation". 2015-05-22. Retrieved 2022-09-07.
  16. "JDK 7u Project Lead". 2020-08-24. Retrieved 2022-09-07.
  17. "Resigning as JDK 7u Project Lead". 2022-09-05. Retrieved 2022-09-07.
  18. "New lead for the JDK 8 Update Releases Project: Andrew Haley". 2019-02-01. Retrieved 2022-09-15.
  19. "New Lead Maintainer for the JDK11 Updates repository: Andrew Haley". 2019-02-18. Retrieved 2022-09-15.
  20. "Announcing General Availability of Microsoft Build of OpenJDK". Java at Microsoft. 2021-05-25. Retrieved 2021-08-03.
  21. "[13u Communication] New Lead Maintainer for the JDK13 Updates repository: Yuri Nesterenko". 2020-03-04. Retrieved 2022-09-07.
  22. "[15u Communication] Future Lead Maintainer for the JDK15 Updates repository: Yuri Nesterenko". 2021-02-22. Retrieved 2022-09-07.
  23. "[17u-communication] Future Lead Maintainer for the JDK17 Updates repository: Goetz Lindenmaier". 2021-12-13. Retrieved 2022-09-15.
  24. "JavaSoft ships Java 1.0". Archived from the original on March 10, 2007. Retrieved 2008-02-05.
  25. Ortiz, C. Enrique; Giguère, Éric (2001). Mobile Information Device Profile for Java 2 Micro Edition: Developer's Guide. John Wiley & Sons. ISBN 978-0471034650. Retrieved May 30, 2012.
  26. Version 1.1 press release, Sun.
  27. Tennant, Don (March 15, 1997). "Taligent prepares internationalisation technology for the big time". Computerworld. IDG. Retrieved January 16, 2021.
  28. Version 1.2 press release, Sun.
  29. Version 1.3 press release, Sun.
  30. "Version 1.3 full list of changes". Archived from the original on November 7, 2006.
  31. "How do I run Java on a Windows 95 computer?".
  32. Version 1.4 press release.
  33. "Version full 1.4 list of changes". Archived from the original on January 8, 2007.
  34. "Java 2 Platform 5.0 and Java for Business 5.0". Oracle Corporation. 2010. Retrieved October 22, 2012.
  35. "Version 1.5.0 or 5.0?". Oracle.
  36. Version 1.5 press release.
  37. Version 1.5 full list of changes.
  38. "JSR 133, 2.4 Why isn't this need met by existing specifications?". Oracle.
  39. Goetz, Brian (2006). Java Concurrency in Practice. Addison-Wesley. p. xvii. ISBN 0-321-34960-1.
  40. "Java 5.0 is no longer available on Java.com". Java.com. 2009-11-03. Retrieved 2016-09-30.
  41. Lineback, Nathan. "Misc Windows 2 – Nathan's Toasty Technology page". Retrieved 2016-09-30.
  42. Yank, Kebin (May 3, 2005). "Java 5 available for Mac OS X". Sitepoint. Retrieved September 30, 2016.
  43. "Version 1.5.0 or 5.0?". Oracle.com. Retrieved April 18, 2016.
  44. Java brand naming.
  45. Version 6, Java webnotes, Sun.
  46. Version 1.6 press release.
  47. Version 1.6 full list of changes.
  48. Java Lobby Archived 2008-10-13 at the Wayback Machine.
  49. "Mustang's HotSpot". Archived from the original on January 2, 2007.
  50. Darcy, Joe (2008-08-03). "An apt replacement". Retrieved 2009-07-29.
  51. "Install Java 6 on Mac OS X Leopard | Gephi, open source graph visualization software". Gephi.org. Retrieved 2016-09-30.
  52. "Oracle Java SE Support Roadmap". Oracle Corporation. September 19, 2012. Retrieved October 22, 2012.
  53. "Auto-update and update through Java Control Panel of JRE 6 will replace JRE 6 with JRE 7". Oracle Corporation. February 19, 2013. Retrieved March 2, 2013.
  54. "Java SE Development Kit 6, Update 43 Release notes". Oracle Corporation. March 4, 2013. Retrieved March 4, 2013.
  55. "Java SE Development Kit 6, Update 45 Release notes". Oracle Corporation. March 4, 2013. Retrieved March 4, 2013.
  56. JDK7 Archived 2016-12-15 at the Wayback Machine, Sun.
  57. "Introducing Java 7 Webcast: Moving Java Forward". Oracle Corporation. July 7, 2011. Retrieved May 30, 2012.
  58. "JDK 7". openjdk.java.net.
  59. "JDK 7 Milestones". OpenJDK. Oracle Corporation. Retrieved May 30, 2012.
  60. Miller, Alex. "Java 7". Retrieved 2008-05-30.
  61. "JSR 292: Supporting Dynamically Typed Languages on the Java Platform". Retrieved August 25, 2013.
  62. "Compressed oops in the Hotspot JVM". OpenJDK. Retrieved 2012-08-01.
  63. "Java HotSpot VM Options". Oracle. Retrieved 2013-04-11.
  64. "Java Programming Language Enhancements". Download.oracle.com. Retrieved 2013-01-15.
  65. "Strings in switch Statements". Download.oracle.com. Retrieved 2013-01-15.
  66. "The try-with-resources Statement". Download.oracle.com. Retrieved 2013-01-15.
  67. "Type Inference for Generic Instance Creation". Download.oracle.com. Retrieved 2013-01-15.
  68. "Improved Compiler Warnings When Using Non-Reifiable Formal Parameters with Varargs Methods". Download.oracle.com. Retrieved 2013-01-15.
  69. "Binary Literals". Download.oracle.com. Retrieved 2013-01-15.
  70. "Underscores in Numeric Literals". Download.oracle.com. Retrieved 2013-01-15.
  71. "Catching Multiple Exception Types and Rethrowing Exceptions with Improved Type Checking". Download.oracle.com. Retrieved 2013-01-15.
  72. "Concurrency JSR-166". Retrieved 2010-04-16.
  73. "File I/O (Featuring NIO.2)". Java.sun.com. 2008-03-14. Retrieved 2013-01-15.
  74. "Legacy File I/O Code". Java.sun.com. 2012-02-28. Retrieved 2013-01-15.
  75. "JDK 7 Features". OpenJDK. 2011-07-28. Retrieved 2013-03-15.
  76. "Introducing Deployment Rule Sets". Oracle. 2013-08-21. Retrieved 2019-01-22.
  77. "JavaOne 2011 Keynote". Oracle. Archived from the original on 2011-10-26.
  78. "Project Jigsaw". OpenJDK.
    "Java Module-System Requirements — DRAFT 12". Oracle.
    Krill, Paul (July 18, 2012). "Project Jigsaw delayed until Java 9". InfoWorld. Retrieved 2020-07-15.
  79. "Java 7 Auto-Update and Java 6". Oracle.
  80. Critical Patch Update table shows four dates per year
  81. "End of Java 7 Public Updates". After April 2015, Oracle will no longer post updates of Java SE 7 to its public download sites. Existing Java SE 7 downloads already posted as of April 2015 will remain accessible in the Java Archive on the Oracle Technology Network. Developers and end-users are encouraged to update to more recent Java SE versions that remain available for public download in order to continue receiving public updates and security enhancements. [..] July 2015: Updates for Java 7 are no longer available to the public. Oracle offers updates to Java 7 only for customers who have purchased Java support or have Oracle products that require Java 7.
  82. "Oracle Java SE Support Roadmap". Oracle Corporation. 2014-12-19. Retrieved 2015-01-07.
  83. "Proposed new schedule for Java 8". 2013-04-18. Retrieved 2013-04-19.
  84. "JDK 8". OpenJDK. 2013-04-18. Retrieved 2014-01-28.
  85. "JDK 8 features". OpenJDK. 2014-01-28. Retrieved 2014-01-28.
  86. "JSR 337". Retrieved 2014-01-30.
  87. "Java 7 Features". Sun Microsystems. 2010-02-09. Retrieved 2010-04-16.
  88. "Interface evolution via virtual extension methods" (PDF). Brian Goetz. 2011-07-20. Retrieved 2014-03-27.
  89. "Lambda Expressions for the Java Programming Language". Brian Goetz. 2012-10-23. Retrieved 2014-03-27.
  90. "The Java Tutorials: Default Methods". Oracle. Archived from the original on 2017-05-23. Retrieved 2014-03-27.
  91. Gafter, Neal (2006-08-18). "Closures for Java". Retrieved 2008-03-09.
  92. Gosling, James (2008-01-31). "Closures". Archived from the original on 2011-07-22. Retrieved 2008-03-09.
  93. Reinhold, Mark (2009-11-28). "Closures for Java". Retrieved 2009-11-24.
  94. Darcy, Joe. "Unsigned Integer Arithmetic API now in JDK 8". blogs.oracle.com.
  95. "Oracle JDK 8 and JRE 8 Certified System Configurations". Oracle Corporation. Retrieved 2014-04-15.
  96. Stahl, Henrik (2014-07-11). "Updated: The future of Java on Windows XP". Oracle Corporation. Archived from the original on 2014-11-11. Retrieved 2014-11-11. JDK 8 is not supported on Windows XP. Early versions of JDK 8 had known issues with the installer on Windows XP that prevented it from installing without manual intervention. This was resolved in JDK 8 Update 25. The important point here is that we can no longer provide complete guarantees for Java on Windows XP, since the OS is no longer being updated by Microsoft. We strongly recommend that users upgrade to a newer version of Windows that is still supported by Microsoft in order to maintain a stable and secure environment.
  97. Wieldt, Tori (October 27, 2014). "Java SE 8 on Java.com". blog.oracle.com. Archived from the original on November 29, 2014. Retrieved November 24, 2014.
  98. "JDK 9". Retrieved 2017-06-16.
  99. "Java modularity specification opposed by Red Hat, IBM is voted down". InfoWorld. 2017-05-09. Retrieved 2017-06-16.
  100. Chirgwin, Richard (July 2, 2017). "Java 9 release back on track, community votes 'yes'". theregister.co.uk. Retrieved 2017-07-29.
  101. "Java Platform, Standard Edition Oracle JDK 9 Migration Guide". docs.oracle.com. Retrieved 15 May 2018.
  102. "OpenJDK: Project Kulla".
  103. Lea, Doug (January 15, 2015). "[concurrency-interest] jdk9 Candidate classes Flow and Submission Publisher". Archived from the original on January 20, 2015. Retrieved December 24, 2015.
  104. "Flow (Java SE 9 & JDK 9 )". docs.oracle.com.
  105. Reactive Streams Releases First Stable Version for JVM
  106. "JDK 9: First Release Candidate". 2017-08-09. Retrieved 2017-08-21.
  107. "Java 9: Release date and new features". techworld.com. 2017-07-21. Retrieved 2017-09-16.
    "JDK 9". Oracle Corporation. Retrieved 2017-09-16.
  108. "Mark your calendar: Java 9 finally has a release date". 2015-05-07.
  109. "Java 9's new garbage collector: What's changing? What's staying?". June 26, 2015.
  110. "JavaOne: JavaFX 2, Java on iOS".
  111. "Java 9 Release Date Now March 2017". 2016-01-05.
  112. "JDK 9 release delayed another four months". The Register. Retrieved 2016-10-14.
  113. OpenJDK. "JDK 10".
  114. OpenJDK. "JDK 11".
  115. "Oracle JDK Migration Guide". Oracle Help Center. Retrieved 27 September 2018.
  116. OpenJDK. "12".
  117. oracle.com, mark reinhold at (September 17, 2019). "Java 13 / JDK 13: General Availability".
  118. oracle.com, mark reinhold at (March 17, 2020). "Java 14 / JDK 14: General Availability".
  119. Evans, Ben (January 10, 2020). "Records Come to Java". Java Magazine. Oracle. Retrieved 10 July 2021.
  120. Gavin Bierman; Brian Goetz (September 2018). "Pattern Matching for Java". cr.openjdk.java.net. Retrieved 2021-04-28.
  121. "[JDK-8255616] Removal of experimental features AOT and Graal JIT - Java Bug System". bugs.openjdk.java.net. Retrieved 2021-02-19.
  122. "JDK 17". openjdk.java.net. Retrieved 2021-09-17.
  123. "JDK 19". openjdk.org. Retrieved 2022-09-19.
  124. "JDK 20". openjdk.org. Retrieved 2023-04-21.
  125. "Downloads - Overview". July 18, 2016.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.