Java version history#JDK 1.0

{{Short description|List of versions of the Java programming language}}

{{About|the Java programming language||History of Java (disambiguation){{!}}History of Java}}

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 [http://www.jcp.org/en/jsr/detail?id=901 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.{{cite web| title=Moving Java Forward Faster | last=Reinhold | first=Mark | url=https://mreinhold.org/blog/forward-faster | date=2017-09-06 | access-date=2017-09-16}}{{cite web| title=Calling 'all aboard' on the six-month Java release train |publisher=theserverside.com | url=http://www.theserverside.com/news/450426185/Calling-all-aboard-on-the-six-month-Java-release-train | date=2017-09-12 | access-date=2017-09-16}} 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, and very few APIs have been removed (at least one, for threading, in Java 22). Some programs allow the 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's Java SE support roadmap, Java SE 23 is the latest version, while versions 21, 17, 11 and 8 are the currently supported long-term support (LTS) versions, where Oracle Customers will receive Oracle Premier Support. Oracle continues to release no-cost public Java 8 updates for development and personal use indefinitely. Oracle also continues to release no-cost public Java 17 LTS updates for all users, including commercial and production use until September 2024.{{Cite web|url=https://blogs.oracle.com/cloud-infrastructure/post/introducing-free-java-license|title=Introducing the Free Java License

|last=Smith| first=Donald|date=}}

In the case of OpenJDK, both commercial long-term support and free software updates are available from multiple organizations in the broader community.{{cite web| title=What does LTS mean for OpenJDK? | last=Reinhold | first=Mark | url=https://mail.openjdk.java.net/pipermail/jdk-dev/2018-August/001824.html | date=2018-08-17 | access-date=2018-08-28}}

Java 23 was released on 17 September 2024. Java 24 was released on 18 March 2025.{{cite web | url=https://jdk.java.net/24/ | title=OpenJDK JDK 24.0.1 GA Release }}

Release table

{{Java version history table}}

JDK 1.0

{{Infobox Java version

| version name = JDK 1.0

| released = {{Start date and age|1996|1|23|df=y|br=yes|paren=yes}}

}}

The first version was released on January 23, 1996.{{cite press release|url=http://www.sun.com/smi/Press/sunflash/1996-01/sunflash.960123.10561.xml |title=JavaSoft ships Java 1.0 |access-date=2008-02-05 |url-status=dead |archive-url=https://web.archive.org/web/20070310235103/http://www.sun.com/smi/Press/sunflash/1996-01/sunflash.960123.10561.xml |archive-date=March 10, 2007}}{{cite book |last1=Ortiz |first1=C. Enrique |last2=Giguère |first2=Éric |title=Mobile Information Device Profile for Java 2 Micro Edition: Developer's Guide |year=2001 |publisher=John Wiley & Sons |isbn=978-0-471-03465-0 |url=https://archive.org/details/mobileinformatio0000orti |access-date=May 30, 2012 |url-access=registration }} The first stable version, JDK 1.0.2, is called Java 1.

{{-}}

JDK 1.1

{{Infobox Java version

| version name = JDK 1.1

| released = {{Start date and age|1997|2|19|df=y|br=yes|paren=yes}}

}}

Major additions in the release on February 19, 1997 included:[https://web.archive.org/web/20080210044125/http://www.sun.com/smi/Press/sunflash/1997-02/sunflash.970219.0001.xml Version 1.1 press release], Sun.

  • extensive retooling of the Abstract Window Toolkit (AWT) event model
  • inner classes added to the language
  • JavaBeans
  • Java Database Connectivity (JDBC)
  • Java remote method invocation (RMI) and serialization
  • reflection which supported Introspection only, no modification at runtime was possible. (The ability to modify objects reflectively was added in J2SE 1.2, by introducing the {{Javadoc|module=java.base|package=java.lang.reflect|class=AccessibleObject|text=AccessibleObject}} class and its subclasses such as the {{Javadoc|module=java.base|package=java.lang.reflect|class=Field|text=Field}} class.)
  • Just-in-time compilation (JIT) on Microsoft Windows platforms, produced for JavaSoft by Symantec
  • Internationalization and Unicode support originating from Taligent{{cite news |first=Don |last=Tennant |date=March 15, 1997 |title=Taligent prepares internationalisation technology for the big time |url=http://www2.computerworld.co.nz/article/669327/twitter-makes-global-changes-comply-privacy-laws/ |work=Computerworld |publisher=IDG |access-date=January 16, 2021}}

{{-}}

J2SE 1.2

{{Infobox Java version

| version name = J2SE 1.2

| codename = Playground

| released = {{Start date and age|1998|12|8|df=y|br=yes|paren=yes}}

}}

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:[https://web.archive.org/web/20070816170028/http://www.sun.com/smi/Press/sunflash/1998-12/sunflash.981208.9.xml Version 1.2 press release], Sun.

{{-}}

J2SE 1.3

{{Infobox Java version

| version name = J2SE 1.3

| released = {{Start date and age|2000|5|8|df=y|br=yes|paren=yes}}

| codename = Kestrel

}}

The most notable changes in the May 8, 2000 release were:[https://web.archive.org/web/20070817053430/http://www.sun.com/smi/Press/sunflash/2000-05/sunflash.20000508.3.xml Version 1.3 press release], Sun.{{Cite web|url=https://java.sun.com/j2se/1.3/docs/relnotes/features.html|archive-url=https://web.archive.org/web/20061107051825/https://java.sun.com/j2se/1.3/docs/relnotes/features.html|url-status=dead|title=Version 1.3 full list of changes|archive-date=November 7, 2006}}

Java 1.3 is the last release of Java to officially support Microsoft Windows 95.{{cite web|url=https://www.java.com/en/download/help/win95.html |title=How do I run Java on a Windows 95 computer?}}

{{-}}

J2SE 1.4

{{Infobox Java version

| version name = J2SE 1.4

| released = {{Start date and age|2002|2|6|df=y|br=yes|paren=yes}}

| public_support_ended = {{End date|2008|10}}

| paid_support_ended = {{End date|2013|2}}

| codename = Merlin

}}

The February 6, 2002 release was the first release of the Java platform developed under the Java Community Process as [http://www.jcp.org/en/jsr/detail?id=59 JSR 59]. Major changes included:[https://web.archive.org/web/20070815095726/http://www.sun.com/smi/Press/sunflash/2002-02/sunflash.20020206.5.xml Version 1.4 press release].{{Cite web|url=https://java.sun.com/j2se/1.4.2/docs/relnotes/features.html|archive-url=https://web.archive.org/web/20070108015942/https://java.sun.com/j2se/1.4.2/docs/relnotes/features.html|url-status=dead|title=Version full 1.4 list of changes|archive-date=January 8, 2007}}

  • Language changes
  • assert keyword (specified in [https://web.archive.org/web/20080616233205/http://www.jcp.org/en/jsr/detail?id=41 JSR 41])
  • Library improvements
  • Regular expressions modeled after Perl regular expressions
  • Exception chaining allows an exception to encapsulate original lower-level exception
  • Internet Protocol version 6 (IPv6) support
  • Non-blocking I/O (named NIO) (specified in [http://www.jcp.org/en/jsr/detail?id=51 JSR 51])
  • Logging API (specified in [https://www.jcp.org/en/jsr/detail?id=47 JSR 47])
  • Image I/O API for reading and writing images in formats like JPEG and PNG
  • Integrated XML parser and XSLT processor (JAXP) (specified in [http://www.jcp.org/en/jsr/detail?id=5 JSR 5] and [https://www.jcp.org/en/jsr/detail?id=63 JSR 63])
  • Integrated security and cryptography extensions (JCE, JSSE, JAAS)
  • Java Web Start included (Java Web Start was first released in March 2001 for J2SE 1.3) (specified in [https://www.jcp.org/en/jsr/detail?id=56 JSR 56])
  • Preferences API (java.util.prefs)

Public support and security updates for Java 1.4 ended in October 2008. Paid security updates for Oracle customers ended in February 2013.{{cite web|url=https://www.oracle.com/technetwork/java/javase/system-configurations-139801.html|publisher=Oracle Corporation|access-date=October 22, 2012|year=2010|title=Java 2 Platform 5.0 and Java for Business 5.0}}

{{Anchor|Java 5}}

Java SE 5

{{Infobox Java version

| version name = Java SE 5

| codename = Tiger

| released = {{Start date and age|2004|9|30|df=y|br=yes|paren=yes}}

| public_support_ended = {{End date|2009|11}}

| paid_support_ended = {{End date|2015|4}}

}}

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".{{cite web|title=Version 1.5.0 or 5.0?|url=https://docs.oracle.com/javase/1.5.0/docs/relnotes/version-5.0.html|publisher=Oracle}} This version was developed under [https://www.jcp.org/en/jsr/detail?id=176 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.

Tiger added a number of significant new language features:[https://web.archive.org/web/20080207083457/http://www.sun.com/smi/Press/sunflash/2004-09/sunflash.20040930.1.xml Version 1.5 press release].[https://java.sun.com/j2se/1.5/docs/relnotes/features.html Version 1.5 full list of changes].

  • Generics: provides compile-time (static) type safety for collections and eliminates the need for most typecasts (type conversion) (specified by [http://www.jcp.org/en/jsr/detail?id=14 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 [http://www.jcp.org/en/jsr/detail?id=175 JSR 175])
  • Autoboxing/unboxing: automatic conversions between primitive types (such as int) and primitive wrapper classes (such as {{Javadoc:SE|java/lang|Integer}}) (specified by [http://www.jcp.org/en/jsr/detail?id=201 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 [http://www.jcp.org/en/jsr/detail?id=201 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 {{Javadoc:SE|java/lang|Iterable}}, such as the standard {{Javadoc:SE|java/util|Collection}} classes (specified by [http://www.jcp.org/en/jsr/detail?id=201 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{{cite web |title=JSR 133, 2.4 Why isn't this need met by existing specifications? |url=https://www.jcp.org/en/jsr/detail?id=133 |publisher=Oracle}}
  • Static imports

There were also the following improvements to the standard libraries:

  • Automatic stub generation for RMI objects
  • Swing: New skinnable look and feel, called synth
  • The [https://java.sun.com/j2se/1.5.0/docs/guide/concurrency/overview.html concurrency utilities] in package [https://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/package-summary.html java.util.concurrent]{{cite book |first=Brian |last=Goetz |year=2006 |title=Java Concurrency in Practice |publisher=Addison-Wesley |isbn=0-321-34960-1 |page=xvii |url-access=registration |url=https://archive.org/details/javaconcurrencyi00goet}}
  • Scanner class for parsing data from various input streams and buffers

Java 5 is the last release of Java to officially support Microsoft Windows 98 and Windows ME,{{cite web|url=https://www.java.com/en/download/windows98me_manual.jsp |title=Java 5.0 is no longer available on Java.com |publisher=Java.com |date=2009-11-03 |access-date=2016-09-30}} 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 2009.

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.{{cite web|url=http://toastytech.com/guis/miscb2.html |title=Misc Windows 2 – Nathan's Toasty Technology page |first=Nathan |last=Lineback |access-date=2016-09-30}}

Java 5 was first available on Apple Mac OS X 10.4 (Tiger){{cite web |last=Yank |first=Kebin |title=Java 5 available for Mac OS X |url=https://www.sitepoint.com/java-5-available-for-mac-os-x/ |website=Sitepoint |access-date=September 30, 2016 |date=May 3, 2005}} 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:

{{Quote|text=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.|source="Version 1.5.0 or 5.0?", Java release notes{{cite web |title=Version 1.5.0 or 5.0? |url=https://docs.oracle.com/javase/1.5.0/docs/relnotes/version-5.0.html |publisher=Oracle.com |access-date=April 18, 2016}}}}

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

{{Anchor|Java 6}}

Java SE 6

{{Infobox Java version

| version name = Java SE 6

| codename = Mustang

| released = {{Start date and age|2006|11|11|df=y|br=yes|paren=yes}}

| public_support_ended = {{End date|2013|2}}

}}

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.[http://www.java.com/en/about/brand/naming.jsp Java brand naming]. Internal numbering for developers remains 1.6.0.[https://java.sun.com/javase/6/webnotes/version-6.html Version 6], Java webnotes, Sun.

This version was developed under [http://www.jcp.org/en/jsr/detail?id=270 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:[http://www.sun.com/smi/Press/sunflash/2006-12/sunflash.20061211.1.xml Version 1.6 press release].[https://java.sun.com/javase/6/features.jsp Version 1.6 full list of changes].

  • 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.{{citation needed|date=April 2013}} This is believed{{by whom|date=November 2011}} 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,{{usurped|1=[https://web.archive.org/web/20081013044209/http://www.javalobby.org/java/forums/t66270.html Java Lobby]}}.{{Cite web|url=http://weblogs.java.net/blog/opinali/archive/2005/11/mustangs_hotspo.html|archive-url=https://web.archive.org/web/20070102103432/http://weblogs.java.net/blog/opinali/archive/2005/11/mustangs_hotspo.html|url-status=dead|title=Mustang's HotSpot|archive-date=January 2, 2007}} 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).{{cite web

| url = https://blogs.oracle.com/darcy/entry/an_apt_replacement

| title = An apt replacement

| last = Darcy

| first = Joe

| date = 2008-08-03

| access-date = 2009-07-29}}

Java 6 can be installed to Mac OS X 10.5 (Leopard) running on 64-bit (Core 2 Duo and higher) processor machines.{{cite web|url=https://gephi.org/users/install-java-6-mac-os-x-leopard/ |title=Install Java 6 on Mac OS X Leopard | Gephi, open source graph visualization software |publisher=Gephi.org |access-date=2016-09-30}} 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.{{cite web|url=https://www.oracle.com/technetwork/java/eol-135779.html|title=Oracle Java SE Support Roadmap|date=September 19, 2012|access-date=October 22, 2012|publisher=Oracle Corporation}}{{cite web|url=https://www.oracle.com/technetwork/java/javase/7u15-relnotes-1907738.html|title=Auto-update and update through Java Control Panel of JRE 6 will replace JRE 6 with JRE 7|date=February 19, 2013|access-date=March 2, 2013|publisher=Oracle Corporation}} Oracle released two more updates to Java 6 in March and April 2013, which patched some security vulnerabilities.{{cite web|url=https://www.oracle.com/technetwork/java/javase/6u43-relnotes-1915290.html|title=Java SE Development Kit 6, Update 43 Release notes|date=March 4, 2013|access-date=March 4, 2013|publisher=Oracle Corporation}}{{cite web|url=https://www.oracle.com/technetwork/java/javase/6u43-relnotes-1915290.html|title=Java SE Development Kit 6, Update 45 Release notes|date=March 4, 2013|access-date=March 4, 2013|publisher=Oracle Corporation}}

= Java 6 updates =

After Java 6 release, Sun, and later Oracle, released several updates which, while not changing any public API, enhanced end-user usability or fixed bugs.{{Cite web|url=https://www.oracle.com/technetwork/java/javase/releasenotes-136954.html|title=Java SE 6 Update Release Notes|website=oracle.com}}

class="wikitable mw-collapsible mw-collapsed"

|+ class="nowrap" | Table of Java 6 updates

width=160 | Release

! width=100 | Release date

! Highlights

Java SE 6

| 2006-12-23

| This release adds many enhancements in the fields of Web services, scripting, databases, pluggable annotations, and security, as well as quality, compatibility, and stability. JConsole is now officially supported. Java DB support has been added.

Java SE 6 Update 1{{citation needed|date=June 2023}}2007-05-07
Java SE 6 Update 2{{citation needed|date=June 2023}}2007-07-03
Java SE 6 Update 3{{citation needed|date=June 2023}}2007-10-03
Java SE 6 Update 4{{citation needed|date=June 2023}}2008-01-14HotSpot VM 10
Java SE 6 Update 5{{citation needed|date=June 2023}}2008-03-05Several security flaws were eliminated. New root certificates from AOL, DigiCert, and TrustCenter are now included.
Java SE 6 Update 6{{citation needed|date=June 2023}}2008-04-16A workaround for the infamous Xlib/XCB locking assertion issue was introduced. A memory leak when using Kerberos authentication with LoginContext was fixed. Several other bugs were fixed.
Java SE 6 Update 7{{citation needed|date=June 2023}}|

| Unofficially, Java SE 6 Update 7 (1.6.0.7) is the last version of Java that was shown to be working on the Win9x family of operating systems{{citation needed|date=April 2013}}

Java SE 6 Update 10{{citation needed|date=June 2023}}2008-10-15HotSpot VM 11. Major changes for this update include:

  • Java Deployment Toolkit, a set of JavaScript functions to ease the deployment of applets and Java Web Start applications.{{Cite web |title=Oracle Java Technologies | Oracle |url=https://www.oracle.com/java/technologies/ |website=oracle.com}}
  • Java Kernel, a small installer including only the most commonly used JRE classes. Other packages are downloaded when needed.
  • Enhanced updater.
  • Enhanced versioning and pack200 support: server-side support is no longer required.
  • Java Quick Starter, to improve cold start-up time.
  • Improved performance of Java2D graphics primitives on Windows, using Direct3D and hardware acceleration.
  • A new Swing look and feel called Nimbus and based on synth.{{Cite web|url=https://java.net/projects/nimbus|archive-url=https://archive.today/20110820062447/http://java.net/projects/nimbus|archive-date=20 August 2011|url-status=dead|title=Nimbus — Java.net|access-date=1 February 2020}}
  • Next-Generation Java Plug-In: applets now run in a separate process and support many features of Web Start applications.
Java SE 6 Update 11{{cite web| url=http://www.findmysoft.com/news/Sun-Java-6-Update-11-Available-Now-Waiting-on-JavaFX/ | title=Sun Java 6 Update 11 Available Now, Waiting on JavaFX | publisher=FindMySoft.com | access-date=2009-11-13}} {{citation needed|date=June 2023}}2008-12-0313 security fixes{{citation needed|date=June 2023}}
Java SE 6 Update 12{{citation needed|date=June 2023}}2008-12-12No security fixes; 64-bit Java plug-in (for 64-bit web browsers only); Windows Server 2008 support; performance improvements of graphics and JavaFX applications
Java SE 6 Update 13{{citation needed|date=June 2023}}2009-03-247 security fixes, JNDI store and retrieve Java objects in LDAP slightly modified, JMX Change (createMBeanunregisterMBean), 4 new root certificates added
Java SE 6 Update 14{{citation needed|date=June 2023}}2009-05-28HotSpot VM 14. This release includes extensive performance updates to the JIT compiler, compressed pointers for 64-bit machines, as well as experimental support for the Garbage-First (G1) a low-pause Garbage Collector.{{cite web|url=https://www.infoq.com/news/2008/05/g1|title=JavaOne: Garbage First|publisher=infoq.com|last=Humble|first= Charles|date=2008-05-13|access-date = 2008-09-07}}{{cite web|url=https://blogs.oracle.com/theplanetarium/entry/java_vm_trying_a_new|title=Java VM: Trying a new Garbage Collector for JDK 7|last=Coward|first=Dany|date=2008-11-12|access-date=2012-01-22|url-status=dead|archive-url=https://web.archive.org/web/20111208114910/http://blogs.oracle.com/theplanetarium/entry/java_vm_trying_a_new|archive-date=2011-12-08}}

The -XX:+DoEscapeAnalysis option directs the HotSpot JIT compiler to use escape analysis to determine whether local objects can be allocated on the stack instead of the heap.{{citation needed|date=June 2023}}

Some developers have noticed an issue introduced in this release which causes debuggers to miss breakpoints seemingly randomly.{{cite web|url=https://bugs.eclipse.org/bugs/show_bug.cgi?id=279137#c14|title=Breakpoints fail to hit under JDK 1.6.0_14|access-date=2009-07-14}} Sun has a corresponding bug, which is tracking the issue. The workaround applies to the Client and Server VMs.{{cite web|url=http://bugs.sun.com/view_bug.do?bug_id=6862295|title=Bug ID: 6862295 JDWP threadid changes during debugging session (leading to ignored breakpoints)|access-date=2009-07-22}} Using the -XX:+UseParallelGC option will prevent the failure. Another workaround is to roll back to update 13, or to upgrade to update 16.

Java SE 6 Update 15{{citation needed|date=June 2023}}2009-08-04Introduced patch-in-place functionality
Java SE 6 Update 16{{citation needed|date=June 2023}}2009-08-11Fixed the issue introduced in update 14 which caused debuggers to miss breakpoints
Java SE 6 Update 17{{citation needed|date=June 2023}}2009-11-04Security fixes; two new root certificates
Java SE 6 Update 18{{citation needed|date=June 2023}}2010-01-13No security fixes; Hotspot VM 16; support for Ubuntu 8.04 LTS Desktop Edition, SLES 11, Windows 7, Red Hat Enterprise Linux 5.3, Firefox 3.6, VisualVM 1.2; updated Java DB; many performance improvements
Java SE 6 Update 19{{citation needed|date=June 2023}}2010-03-30Security fixes; root certificate changes: seven new, three removed, five replaced with stronger signature algorithms; interim fix for TLS renegotiation attack
Java SE 6 Update 20{{citation needed|date=June 2023}}2010-04-152 security fixes
Java SE 6 Update 21{{citation needed|date=June 2023}}2010-07-07No security fixes; Hotspot VM 17; support for Red Hat Enterprise Linux 5.4 and 5.5, Oracle Enterprise Linux 4.8, 5.4, 5.5; Google Chrome 4 support; support for Customized Loading Progress Indicators; VisualVM 1.2.2
Java SE 6 Update 22{{citation needed|date=June 2023}}2010-10-1229 security fixes; {{IETF RFC|5746}} support
Java SE 6 Update 23{{citation needed|date=June 2023}}2010-12-08No security fixes; Hotspot VM 19; better support for right-to-left languages
Java SE 6 Update 24{{citation needed|date=June 2023}}2011-02-1521 security fixes; updated Java DB
Java SE 6 Update 25{{citation needed|date=June 2023}}2011-03-21No security fixes; Hotspot VM 20; support for Internet Explorer 9, Firefox 4 and Chrome 10; improved BigDecimal; includes "tiered" compilation in the Server VM that enables it to start quickly as does the Client VM, while achieving better peak performance (this feature is enabled by specifying -server and -XX:+TieredCompilation command options)
Java SE 6 Update 26{{citation needed|date=June 2023}}2011-06-0717 new security fixes;{{Cite web|url=https://www.oracle.com/security-alerts/javacpujune2011.html|title=Oracle Java SE Critical Patch Update Advisory – June 2011|website=oracle.com}} last version compatible with Windows Vista SP1
Java SE 6 Update 27{{citation needed|date=June 2023}}2011-08-16No security fixes; certification for Firefox 5
Java SE 6 Update 29{{citation needed|date=June 2023}}2011-10-1820 security fixes, various bug fixes{{Cite web|url=https://www.oracle.com/security-alerts/javacpuoct2011.html|title=Oracle Java SE Critical Patch Update Advisory – October 2011|website=oracle.com}}
Java SE 6 Update 30{{citation needed|date=June 2023}}2011-12-12No security fixes; fix for SSL regression in Update 29; support for Red Hat Enterprise Linux 6
Java SE 6 Update 31{{citation needed|date=June 2023}}2012-02-1414 security fixes and one bug fix; last version work reliably for Windows 2000{{cite web|url=http://www.msfn.org/board/topic/156546-java-6-update-32-fails-to-install/|title=Java 6 Update 32 fails to install...|publisher=MSFN|access-date=2016-07-31|archive-url=https://web.archive.org/web/20160816031428/http://www.msfn.org/board/topic/156546-java-6-update-32-fails-to-install/|archive-date=2016-08-16|url-status=dead}}
Java SE 6 Update 32{{citation needed|date=June 2023}}2012-04-26No security fixes, various bug fixes
Java SE 6 Update 33{{citation needed|date=June 2023}}2012-06-1214 security fixes, improved VM configuration file loading
Java SE 6 Update 34{{citation needed|date=June 2023}}2012-08-14No security fixes, various bug fixes
Java SE 6 Update 35{{citation needed|date=June 2023}}2012-08-30Contains a security-in-depth fix
Java SE 6 Update 37{{citation needed|date=June 2023}}2012-10-1630 security fixes
Java SE 6 Update 38{{citation needed|date=June 2023}}2012-12-11Various bug fixes{{citation needed|date=June 2023}}
Java SE 6 Update 39{{citation needed|date=June 2023}}2013-02-0150 security fixes
Java SE 6 Update 41{{citation needed|date=June 2023}}2013-02-195 security fixes
Java SE 6 Update 43{{citation needed|date=June 2023}}2013-03-042 security fixes
Java SE 6 Update 45{{citation needed|date=June 2023}}2013-04-1642 security fixes;{{Cite web|url=https://www.oracle.com/security-alerts/javacpuapr2013.html|title=Oracle Java SE Critical Patch Update Advisory – April 2013|website=oracle.com}} other changes; final public update.{{Cite web|url=https://java.com/en/download/faq/why_upgrade.xml|title=Why should I upgrade Java ?|website=java.com}}
Java SE 6 Update 512013-06-18Not available publicly, only available through the Java SE Support program and in Apple Update for OS X Snow Leopard, Lion & Mountain Lion; up to 40 security fixes{{Cite web|url=https://www.oracle.com/security-alerts/javacpujun2013.html|title=Oracle Java Critical Patch Update – June 2013|website=oracle.com}}
Java SE 6 Update 652013-10-15Not available publicly, only available through the Java SE Support program and in Apple Update for OS X Snow Leopard, Lion & Mountain Lion; at least 11 critical security fixes{{Cite web|url=https://www.oracle.com/security-alerts/cpuoct2013.html|title=Oracle Critical Patch Update – October 2013|website=oracle.com}}
Java SE 6 Update 712014-01-14Not available for public download; 33 fixes{{citation needed|date=June 2023}}
Java SE 6 Update 752014-04-15Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster no. #54; 25 security fixes{{Cite web|url=https://www.oracle.com/security-alerts/cpuapr2014.html|title=Oracle Critical Patch Update – April 2014|website=oracle.com}}
Java SE 6 Update 812014-07-15Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 11 security fixes{{Cite web|url=https://www.oracle.com/security-alerts/cpujul2014.html|title=Oracle Critical Patch Update – July 2014|website=oracle.com}}
Java SE 6 Update 852014-10-16Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 18 security fixes{{Cite web|url=https://www.oracle.com/security-alerts/cpuoct2014.html|title=Oracle Critical Patch Update – October 2014|website=oracle.com}}
Java SE 6 Update 912015-01-21Linux x64 and Windows i586 versions are available as the Java SE 6 Reference Implementation.{{cite web|title=Java SE 6 Reference Implementation|url=https://www.oracle.com/technetwork/java/javase/downloads/javase6ri-2395277.html|publisher=Oracle Corporation|access-date=2016-10-24}} Other versions are only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 15 security fixes{{Cite web|url=https://www.oracle.com/security-alerts/cpujan2015.html|title=Oracle Critical Patch Update Advisory – January 2015|website=oracle.com}}
Java SE 6 Update 952015-04-14Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 14 security fixes{{Cite web|url=https://www.oracle.com/security-alerts/cpuapr2015.html|title=Oracle Critical Patch Update – April 2015|website=oracle.com}}
Java SE 6 Update 1012015-07-15Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 18 security fixes{{cite web|title = Oracle Critical Patch Update Advisory – July 2015|url = https://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html|access-date = 2015-07-15}} Certification for IE 10 and 11 was introduced in 1.6.0_101
Java SE 6 Update 1052015-10-20Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 17 security fixes{{cite web|title = Oracle Critical Patch Update Advisory – October 2015|url = https://www.oracle.com/technetwork/topics/security/cpuoct2015-2367953.html|access-date = 2015-10-20}}
Java SE 6 Update 1112016-01-20Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 13 security fixes{{cite web|title = Oracle Critical Patch Update Advisory – January 2016|url = https://www.oracle.com/technetwork/topics/security/cpujan2016-2367955.html|access-date = 2016-01-20}}
Java SE 6 Update 1132016-02-05Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 1 security fix{{cite web|title = Oracle Security Alert for CVE-2016-0603|url = https://www.oracle.com/technetwork/topics/security/alert-cve-2016-0603-2874360.html|access-date = 2016-02-08}}
Java SE 6 Update 1152016-04-21Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 8 security fixes{{cite web|title = Oracle Critical Patch Update CVSS V2 Risk Matrices – April 2016|url = https://www.oracle.com/technetwork/topics/security/cpuapr2016-2881694.html|access-date = 2016-04-21}}
Java SE 6 Update 1212016-07-19Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 15 security fixes{{cite web|title = Oracle Critical Patch Update Advisory – July 2016|url = https://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html|access-date = 2016-07-19}}
Java SE 6 Update 1312016-10-18Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 13 security fixes{{cite web|title = Oracle Critical Patch Update Advisory – October 2016|url = https://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html|access-date = 2016-10-18}}
Java SE 6 Update 1412017-01-17Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 17 security fixes{{cite web|title = Oracle Critical Patch Update Advisory – January 2017|url = https://www.oracle.com/technetwork/security-advisory/cpujan2017-2881727.html|access-date = 2017-01-17}}
Java SE 6 Update 1512017-04-18Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 10 security fixes{{cite web|title = Oracle Critical Patch Update Advisory – April 2017|url = https://www.oracle.com/technetwork/security-advisory/cpuapr2017-3236618.html|access-date = 2017-04-18}}
Java SE 6 Update 1612017-07-18Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 5 security fixes{{cite web|title = Oracle Critical Patch Update Advisory – July 2017|url = https://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html|access-date = 2017-07-18}}
Java SE 6 Update 1712017-10-20Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 7 security fixes{{cite web|title = Oracle Critical Patch Update Advisory – October 2017|url = https://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html|access-date = 2017-10-20}}
Java SE 6 Update 1812018-01-16Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 12 security fixes{{cite web|title = Oracle Critical Patch Update Advisory – January 2018|url = https://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html|access-date = 2017-10-20}}
Java SE 6 Update 1912018-04-17Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 7 security fixes{{cite web|title = Oracle Critical Patch Update Advisory – April 2018|url = https://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html|access-date = 2018-04-17}}
Java SE 6 Update 2012018-07-17Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 3 security fixes{{cite web|title = Oracle Critical Patch Update Advisory – July 2018|url = https://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html|access-date = 2018-07-17}}
Java SE 6 Update 2112018-10-18Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 8 security fixes{{cite web|title = Oracle Critical Patch Update Advisory – October 2018|url = https://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html|access-date = 2018-10-18}}

{{Anchor|Java 7}}

Java SE 7

{{Infobox Java version

| version name = Java SE 7

| codename = Dolphin[http://jdk7.java.net/ JDK7] {{Webarchive|url=https://web.archive.org/web/20161215071733/https://jdk7.java.net/ |date=2016-12-15 }}, Sun.

| released = {{Start date and age|2011|7|28|df=y|br=yes|paren=yes}}

| public_support_ended = {{End date|2015|4}}

| paid_support_ended = {{End date|2022|6}}

}}

Java 7 was a major update that launched on July 7, 2011{{cite web|title=Introducing Java 7 Webcast: Moving Java Forward|url=https://www.oracle.com/webapps/events/ns/EventsDetail.jsp?p_eventId=134208&src=7299693&src=7299693&Act=18|publisher=Oracle Corporation|access-date=May 30, 2012|date=July 7, 2011}} and was made available for developers on July 28, 2011.{{Cite web|url=https://openjdk.java.net/projects/jdk7/|title=JDK 7|website=openjdk.java.net}} The development period was organized into thirteen milestones; on June 6, 2011, the last of the thirteen milestones was finished.{{cite web|title=JDK 7 Milestones|url=https://openjdk.java.net/projects/jdk7/milestones/|work=OpenJDK|publisher=Oracle Corporation|access-date=May 30, 2012}} On average, 8 builds (which generally included enhancements and bug fixes) were released per milestone. The [https://openjdk.java.net/projects/jdk7/features/ feature list at the OpenJDK 7 project] lists many of the changes.

Additions in Java 7 include:{{cite web|url=https://puredanger.github.io/tech.puredanger.com/java7|title=Java 7|last=Miller|first=Alex|access-date=2024-02-05}}

  • JVM support for dynamic languages, with the new invokedynamic bytecode under JSR-292,{{cite web|title=JSR 292: Supporting Dynamically Typed Languages on the Java Platform|url=https://jcp.org/en/jsr/detail?id=292|access-date=August 25, 2013}} following the prototyping work currently done on the Multi Language Virtual Machine
  • Compressed 64-bit pointers{{cite web|title=Compressed oops in the Hotspot JVM|url=https://wikis.oracle.com/display/HotSpotInternals/CompressedOops|publisher=OpenJDK|access-date = 2012-08-01}} (available in Java 6 with -XX:+UseCompressedOops){{cite web |url=https://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html |title=Java HotSpot VM Options |publisher=Oracle |access-date=2013-04-11}}
  • Project Coin language features:{{cite web|url=https://download.oracle.com/javase/7/docs/technotes/guides/language/enhancements.html#javase7 |title=Java Programming Language Enhancements |publisher=Download.oracle.com |access-date=2013-01-15}}

:* Strings in switch{{cite web|url=https://download.oracle.com/javase/7/docs/technotes/guides/language/strings-switch.html |title=Strings in switch Statements |publisher=Download.oracle.com |access-date=2013-01-15}}

:* Automatic resource management in try-statement aka try-with-resources statement{{cite web|url=https://download.oracle.com/javase/7/docs/technotes/guides/language/try-with-resources.html |title=The try-with-resources Statement |publisher=Download.oracle.com |access-date=2013-01-15}}

:* Improved type inference for generic instance creation, aka the diamond operator <>{{cite web|url=https://download.oracle.com/javase/7/docs/technotes/guides/language/type-inference-generic-instance-creation.html |title=Type Inference for Generic Instance Creation |publisher=Download.oracle.com |access-date=2013-01-15}}

:* Simplified varargs method declaration{{cite web|url=https://download.oracle.com/javase/7/docs/technotes/guides/language/non-reifiable-varargs.html |title=Improved Compiler Warnings When Using Non-Reifiable Formal Parameters with Varargs Methods |publisher=Download.oracle.com |access-date=2013-01-15}}

:* Binary integer literals{{cite web|url=https://download.oracle.com/javase/7/docs/technotes/guides/language/binary-literals.html |title=Binary Literals |publisher=Download.oracle.com |access-date=2013-01-15}}

:* Allowing underscores in numeric literals{{cite web|url=https://download.oracle.com/javase/7/docs/technotes/guides/language/underscores-literals.html |title=Underscores in Numeric Literals |publisher=Download.oracle.com |access-date=2013-01-15}}

:* Catching multiple exception types and rethrowing exceptions with improved type checking{{cite web|url=https://download.oracle.com/javase/7/docs/technotes/guides/language/catch-multiple.html |title=Catching Multiple Exception Types and Rethrowing Exceptions with Improved Type Checking |publisher=Download.oracle.com |access-date=2013-01-15}}

  • Concurrency utilities under JSR 166{{cite web|url=https://gee.cs.oswego.edu/dl/concurrency-interest/index.html|title=Concurrency JSR-166|access-date=2010-04-16}}
  • 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{{cite web|url=https://java.sun.com/docs/books/tutorial/essential/io/fileio.html |title=File I/O (Featuring NIO.2) |publisher=Java.sun.com |date=2008-03-14 |access-date=2013-01-15}}{{cite web|url=https://java.sun.com/docs/books/tutorial/essential/io/legacy.html |title=Legacy File I/O Code |publisher=Java.sun.com |date=2012-02-28 |access-date=2013-01-15}}
  • 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{{cite web|url=https://openjdk.java.net/projects/jdk7/features/#f650 |title=JDK 7 Features |publisher=OpenJDK |date=2011-07-28 |access-date=2013-03-15}}
  • Enhanced library-level support for new network protocols, including SCTP and Sockets Direct Protocol
  • Upstream updates to XML and Unicode
  • Java deployment rule sets{{cite web |url=https://blogs.oracle.com/java-platform-group/entry/introducing_deployment_rule_sets |title=Introducing Deployment Rule Sets |publisher=Oracle |date=2013-08-21 |access-date=2019-01-22}}

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).{{cite web|url=https://blogs.oracle.com/javaone/resource/java_keynote/slide_16_full_size.gif|title=JavaOne 2011 Keynote|publisher=Oracle|url-status=dead|archive-url=https://web.archive.org/web/20111026122903/http://blogs.oracle.com/javaone/resource/java_keynote/slide_16_full_size.gif|archive-date = 2011-10-26}}

Java 7 was the default version to download on java.com from April 2012 until Java 8 was released.{{cite web|url=https://www.oracle.com/technetwork/java/javase/documentation/autoupdate-1667051.html|title=Java 7 Auto-Update and Java 6|publisher=Oracle}}

= Java 7 updates =

Oracle issued public updates to the Java 7 family on a quarterly basis[https://www.oracle.com/technetwork/topics/security/alerts-086861.html Critical Patch Update table shows four dates per year] until April 2015 when the product reached the end of its public availability.{{cite web |url=https://java.com/en/download/faq/java_7.xml |title=End of Java 7 Public Updates |quote=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.}} Further updates for JDK 7, which continued until July 2022, are only made available to customers with a support contract.{{cite web | url = https://www.oracle.com/technetwork/java/javase/downloads/eol-135779.html | title = Oracle Java SE Support Roadmap | access-date = 2015-01-07 | date = 2014-12-19 | publisher = Oracle Corporation}}

class="wikitable mw-collapsible mw-collapsed"

|+ class="nowrap" | Table of Java 7 updates

width=160 | Release

! width=110 | Release date

! Highlights

Java SE 7{{Cite web|url=https://www.oracle.com/technetwork/java/javase/jdk7-relnotes-429209.html|title=JDK 7 Release Notes|website=oracle.com}}2011-07-28Initial release; HotSpot VM 21
Java SE 7 Update 1{{citation needed|date=June 2023}}2011-10-1820 security fixes, other bug fixes
Java SE 7 Update 2{{citation needed|date=June 2023}}2011-12-12No security fixes; HotSpot VM 22; reliability and performance improvements; support for Solaris 11 and Firefox 5 and later; JavaFX included with Java SE JDK, improvements for web-deployed applications
Java SE 7 Update 3{{citation needed|date=June 2023}}style="white-space:nowrap" |2012-02-1414 security fixes{{Cite web|url=https://www.oracle.com/security-alerts/javacpufeb2012.html|title=Oracle Java SE Critical Patch Update Advisory – February 2012|website=oracle.com}}
Java SE 7 Update 4{{citation needed|date=June 2023}}2012-04-26No security updates; HotSpot VM 23; JDK Support for Mac OS X; New Supported Garbage Collector: Garbage-First (G1)
Java SE 7 Update 5{{citation needed|date=June 2023}}2012-06-1214 security fixes{{Cite web|url=https://www.oracle.com/security-alerts/javacpujun2012.html|title=Oracle Java SE Critical Patch Update Advisory – June 2012|website=oracle.com}}
Java SE 7 Update 6{{citation needed|date=June 2023}}2012-08-14JavaFX and Java Access Bridge included in Java SE JDK and JRE installation, JavaFX support for touch-enabled monitors and touch pads, JavaFX support for Linux, JDK and JRE Support for Mac OS X, JDK for Linux on ARM{{Cite web|url=https://blogs.oracle.com/java/entry/oracle_releases_java_se_7|archive-url=https://web.archive.org/web/20121027075253/https://blogs.oracle.com/java/entry/oracle_releases_java_se_7|url-status=dead|title=Java SE 7 Update 6 Released|archive-date=October 27, 2012}}
Java SE 7 Update 7{{citation needed|date=June 2023}}2012-08-304 security fixes{{cite web|title=Oracle Security Alert for CVE-2012-4681|url=https://www.oracle.com/technetwork/topics/security/alert-cve-2012-4681-1835715.html|publisher=Oracle Corporation}}
Java SE 7 Update 9{{citation needed|date=June 2023}}2012-10-1630 security vulnerabilities fixes{{Cite web|url=https://www.oracle.com/security-alerts/javacpuoct2012.html|title=Oracle Java SE Critical Patch Update Advisory – October 2012|website=oracle.com}}
Java SE 7 Update 10{{citation needed|date=June 2023}}2012-12-11New security features, such as the ability to disable any Java application from running in the browser and new dialogs to warn you when the JRE is insecure, and bug fixes
Java SE 7 Update 11{{citation needed|date=June 2023}}2013-01-13Olson Data 2012i; bugfix for problems with registration of plugin on systems with Stand-alone version of JavaFX Installed, security fixes for {{CVE|2013-0422}};{{cite web|title=Oracle Security Alert for CVE-2013-0422|url=https://www.oracle.com/technetwork/topics/security/alert-cve-2013-0422-1896849.html|publisher=Oracle Corporation}} the default security level for Java applets and web start applications has been increased from "Medium" to "High"
Java SE 7 Update 13{{Cite web|url=https://www.oracle.com/security-alerts/javacpufeb2013.html|title=Oracle Java SE Critical Patch Update Advisory – February 2013|website=oracle.com}} {{citation needed|date=June 2023}}2013-02-0150 security fixes
Java SE 7 Update 15{{citation needed|date=June 2023}}2013-02-195 security fixes
Java SE 7 Update 17{{citation needed|date=June 2023}}2013-03-042 security fixes
Java SE 7 Update 21{{citation needed|date=June 2023}}2013-04-16Multiple changes including 42 security fixes, a new Server JRE that does not include the plug-in, and the JDK for Linux on ARM
Java SE 7 Update 25{{citation needed|date=June 2023}}2013-06-18Multiple changes including 40 security fixes{{Cite web|url=http://www.h-online.com/security/news/item/Oracle-releases-fixes-for-40-Java-holes-1892400.html|title=Oracle releases fixes for 40 Java holes – The H Security: News and Features|website=h-online.com}}
Java SE 7 Update 40{{citation needed|date=June 2023}}2013-09-10621 bug fixes,{{Cite web|url=https://www.oracle.com/technetwork/java/javase/2col/7u40-bugfixes-2007733.html|title=Java SE Development Kit 7 Update 40 Bug Fixes|website=oracle.com}} New security features, hardfloat ARM, Java Mission Control 5.2 and Retina Display support{{Cite web|url=https://blogs.oracle.com/henrik/entry/oracle_jdk_7u40_released_security|archive-url=https://web.archive.org/web/20131002055431/https://blogs.oracle.com/henrik/entry/oracle_jdk_7u40_released_security|url-status=dead|title=Oracle JDK 7u40 released – security features, hardfloat ARM, Java Mission Control and more|archive-date=October 2, 2013}}
Java SE 7 Update 45{{citation needed|date=June 2023}}2013-10-1551 security fixes; protections against unauthorized redistribution of Java applications; restore security prompts; JAXP changes; TimeZone.setDefault change
Java SE 7 Update 51{{citation needed|date=June 2023}}2014-01-1436 security fixes; block JAVA applets without manifest (like Remote console—Java Applet—IBM IMM card, HP iLO card) even if warning dialog is with sentence "will be blocked in next version",[https://www.zdnet.com/article/oracle-to-patch-java-other-products-tuesday/ Oracle to patch Java, other products Tuesday], ZDNet,{{Cite web|url=https://www.oracle.com/security-alerts/cpujan2014.html|title=Oracle Critical Patch Update – January 2014|website=oracle.com}} 17 bug fixes
Java SE 7 Update 55{{citation needed|date=June 2023}}2014-04-1537 security fixes, 19 bug fixes{{Cite web|url=https://www.oracle.com/technetwork/java/javase/2col/7u55-bugfixes-2180733.html|title=Java SE Development Kit 7 Update 55 Bug Fixes|website=oracle.com}}
Java SE 7 Update 60{{citation needed|date=June 2023}}2014-05-28Java Mission Control 5.3,{{Cite web|url=https://www.oracle.com/technetwork/java/javase/jmc53-release-notes-2157171.html|title=Java Mission Control 5.3 Release Notes|website=oracle.com}} 130 bug fixes{{Cite web|url=https://www.oracle.com/technetwork/java/javase/2col/7u60-bugfixes-2202029.html|title=Java SE Development Kit 7 Update 60 Bug Fixes|website=oracle.com}}
Java SE 7 Update 65{{citation needed|date=June 2023}}2014-07-1518 bug fixes{{citation needed|date=June 2023}}
Java SE 7 Update 67{{citation needed|date=June 2023}}2014-08-041 bug fix
Java SE 7 Update 71{{citation needed|date=June 2023}}2014-10-1416 bug fixes{{citation needed|date=June 2023}}
Java SE 7 Update 72{{citation needed|date=June 2023}}2014-10-14Same release date with Update 71 as a corresponding Patch Set Update (PSU) for Java SE 7,{{Cite web|url=https://www.oracle.com/technetwork/java/javase/downloads/cpu-psu-explained-2331472.html|title=Java CPU and PSU Releases Explained|website=oracle.com}} 36 bug fixes{{citation needed|date=June 2023}}
Java SE 7 Update 75{{citation needed|date=June 2023}}2015-01-2012 bug fixes,{{citation needed|date=June 2023}} SSLv3 disabled by default
Java SE 7 Update 76{{citation needed|date=June 2023}}2015-01-20Same release date with Update 75 as a corresponding Patch Set Update (PSU) for Java SE 7, 97 bug fixes{{citation needed|date=June 2023}}
Java SE 7 Update 79{{citation needed|date=June 2023}}2015-04-1421 security fixes, 6 bug fixes,{{citation needed|date=June 2023}}
Java SE 7 Update 80{{citation needed|date=June 2023}}2015-04-14Last public release of Java 7; same release date with Update 79 as a corresponding Patch Set Update (PSU) for Java SE 7, 104 bug fixes{{citation needed|date=June 2023}}
Java SE 7 Update 852015-07-15Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 25 security fixes{{Cite web|url=https://www.oracle.com/security-alerts/cpujul2015.html|title=Oracle Critical Patch Update Advisory – July 2015|website=oracle.com}}
Java SE 7 Update 912015-10-20Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 20 security fixes{{Cite web|url=https://www.oracle.com/security-alerts/cpuoct2015.html|title=Oracle Critical Patch Update Advisory – October 2015|website=oracle.com}}
Java SE 7 Update 95

| 2016-01-19

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 8 security fixes{{cite web|title = Oracle Critical Patch Update – January 2016|url = https://www.oracle.com/technetwork/topics/security/cpujan2016-2367955.html#AppendixJAVA|website = www.oracle.com|access-date = 2016-01-20}}

Java SE 7 Update 97

| 2016-02-05

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 1 security fix

Java SE 7 Update 99

| 2016-03-23

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 1 security fix{{cite web|title = Java SE Development Kit 7, Update 99|url = https://www.oracle.com/technetwork/java/javase/documentation/javase7supportreleasenotes-1601161.html|access-date = 2016-03-23}}

Java SE 7 Update 101

| 2016-04-18

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 22 security fixes{{cite web|title = Oracle Critical Patch Update Advisory – April 2016|url = https://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html|access-date = 2016-04-18}}

Java SE 7 Update 111

| 2016-07-19

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 36 security fixes

Java SE 7 Update 121

| 2016-10-18

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 32 security fixes

Java SE 7 Update 131

| 2017-01-17

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 34 security fixes

Java SE 7 Update 141

| 2017-04-18

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 8 security fixes{{cite web|title = Oracle Critical Patch Update Advisory – April 2017|url = https://www.oracle.com/technetwork/topics/security/cpuapr2017-3236618.html|access-date = 2017-04-18}}

Java SE 7 Update 151

| 2017-07-18

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 4 security fixes

Java SE 7 Update 161

| 2017-10-20

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 4 security fixes

Java SE 7 Update 171

| 2018-01-16

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 51 security fixes

Java SE 7 Update 181

| 2018-04-17

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 12 security fixes

Java SE 7 Update 191

| 2018-07-17

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 9 security fixes

Java SE 7 Update 201

| 2018-10-18

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 13 security fixes

Java SE 7 Update 211

| 2019-01-15

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 5 security fixes{{cite web|title = Oracle Critical Patch Update Advisory – January 2019|url = https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html|access-date = 2019-04-18}}

Java SE 7 Update 221

| 2019-04-16

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 5 security fixes{{cite web|title = Oracle Critical Patch Update Advisory – April 2019|url = https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html|access-date = 2019-04-18}}

Java SE 7 Update 231

| 2019-07-16

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 6 security fixes{{cite web|url=https://www.oracle.com/security-alerts/cpujul2019.html|title=Oracle Critical Patch Update Advisory – July 2019|access-date=2020-01-07}}

Java SE 7 Update 241

| 2019-10-15

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 15 security fixes{{cite web|url=https://www.oracle.com/security-alerts/cpuoct2019.html|title=Oracle Critical Patch Update Advisory – October 2019|access-date=2020-01-07}}

Java SE 7 Update 251

| 2020-01-14

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 12 security fixes{{cite web|url=https://www.oracle.com/security-alerts/cpujan2020.html|title=Oracle Critical Patch Update Advisory – January 2020|access-date=2021-04-22}}

Java SE 7 Update 261

| 2020-04-14

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 15 security fixes{{cite web|url=https://www.oracle.com/security-alerts/cpuapr2020.html|title=Oracle Critical Patch Update Advisory – April 2020|access-date=2021-04-22}}

Java SE 7 Update 271

| 2020-07-14

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 11 security fixes{{cite web|url=https://www.oracle.com/security-alerts/cpujul2020.html|title=Oracle Critical Patch Update Advisory – July 2020|access-date=2021-04-22}}

Java SE 7 Update 281

| 2020-10-20

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 8 security fixes{{cite web|url=https://www.oracle.com/security-alerts/cpuoct2020.html|title=Oracle Critical Patch Update Advisory – October 2020|access-date=2021-04-22}}

Java SE 7 Update 291

| 2021-01-19

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 1 security fixes{{cite web|url=https://www.oracle.com/security-alerts/cpujan2021.html|title=Oracle Critical Patch Update Advisory – January 2021|access-date=2021-04-22}}

Java SE 7 Update 301

| 2021-04-12

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 11 security fixes{{cite web|url=https://www.oracle.com/security-alerts/cpuapr2021.html|title=Oracle Critical Patch Update Advisory – April 2021|access-date=2021-04-22}}

Java SE 7 Update 311

| 2021-07-20

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 24 bug fixes{{cite web|url=https://www.oracle.com/java/technologies/javase/7-support-relnotes.html#R170_311|title=Release Notes for JDK 7 and JDK 7 Update Releases|access-date=2022-01-25}}

Java SE 7 Update 321

| 2021-10-19

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 16 bug fixes{{cite web|url=https://www.oracle.com/java/technologies/javase/7-support-relnotes.html#R170_321|title=Release Notes for JDK 7 and JDK 7 Update Releases|access-date=2022-01-25}}

Java SE 7 Update 331

| 2022-01-18

| Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 18 bug fixes{{cite web|url=https://www.oracle.com/java/technologies/javase/7-support-relnotes.html#R170_331|title=Release Notes for JDK 7 and JDK 7 Update Releases|access-date=2022-01-25}}

{{Anchor|Java 8}}

Java SE 8 (LTS)

{{Infobox Java version

|version name = Java SE 8

|codename = Spider

|lts = yes

|released = {{Start date and age|2014|3|18|df=y|br=yes|paren=yes}}

|jeps = 8

}}

Java 8 was released on March 18, 2014,{{cite web |url=https://mail.openjdk.java.net/pipermail/jdk8-dev/2013-April/002336.html |title=Proposed new schedule for Java 8 |date=2013-04-18 |access-date=2013-04-19}}{{cite web |url=https://openjdk.java.net/projects/jdk8/ |title=JDK 8 |publisher=OpenJDK |date=2013-04-18 |access-date=2014-01-28}} and included some features that were planned for Java 7 but later deferred.{{cite web |url=https://openjdk.java.net/projects/jdk8/features |title=JDK 8 features |publisher=OpenJDK |date=2014-01-28 |access-date=2014-01-28}}

Work on features was organized in terms of JDK Enhancement Proposals (JEPs).{{cite web |url=https://jcp.org/en/jsr/detail?id=337 |title=JSR 337|access-date=2014-01-30}}

  • JSR 335, JEP 126: Language-level support for lambda expressions (officially, lambda expressions; unofficially, closures) under Project Lambda{{cite web|url=https://openjdk.java.net/projects/jdk7/features/#f700|title=Java 7 Features|publisher=Sun Microsystems|date=2010-02-09|access-date=2010-04-16}} and default methods (virtual extension methods){{cite web|url=https://wiki.jvmlangsummit.com/images/7/71/2011_Goetz_Extension.pdf|title=Interface evolution via virtual extension methods|publisher=Brian Goetz|date= 2011-07-20|access-date=2014-03-27}}{{cite web|url= https://www.jcp.org/en/jsr/proposalDetails?id=335|title= Lambda Expressions for the Java Programming Language|publisher=Brian Goetz|date= 2012-10-23|access-date = 2014-03-27}}{{cite web|url= https://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.html|title=The Java Tutorials: Default Methods|publisher=Oracle|access-date= 2014-03-27|archive-url=https://web.archive.org/web/20170523042436/http://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.html|archive-date=2017-05-23|url-status=dead}} 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.{{cite web|url=http://gafter.blogspot.com/2006/08/closures-for-java.html|title=Closures for Java|last=Gafter|first=Neal|date=2006-08-18|access-date=2008-03-09}}{{cite web|url=https://blogs.oracle.com/jag/entry/closures|title=Closures|last=Gosling|first=James|date=2008-01-31|access-date=2008-03-09| archive-url=https://web.archive.org/web/20110722180952/http://blogs.oracle.com/jag/entry/closures|archive-date=2011-07-22|url-status=dead}} Sun later declared that lambda expressions would be included in Java and asked for community input to refine the feature.{{cite web|url=http://mreinhold.org/blog/closures|title=Closures for Java|last=Reinhold|first=Mark|date=2009-11-28|access-date=2009-11-24}} 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, default methods can also be used for multiple inheritance of behavior (but not state).
  • {{Java JEP|174|Project Nashorn}}, a JavaScript runtime which can run JavaScript code embedded within applications
  • {{Java JEP|104|Annotation on Java types}}
  • Unsigned integer arithmetic{{Cite web|url=https://blogs.oracle.com/darcy/unsigned-integer-arithmetic-api-now-in-jdk-8|title=Unsigned Integer Arithmetic API now in JDK 8|first=Joe|last=Darcy|website=blogs.oracle.com}}
  • {{Java JEP|120|Repeating annotations}}
  • {{Java JEP|150|Date and time API}}
  • {{Java JEP|178|Statically-linked JNI libraries}}
  • {{Java JEP|153|Launch JavaFX applications}} (direct launching of JavaFX application JARs)
  • {{Java JEP|122|Remove the permanent generation}}

Java 8 is not supported on Windows XP{{cite web|url=https://www.oracle.com/technetwork/java/javase/certconfig-2095354.html#os|title=Oracle JDK 8 and JRE 8 Certified System Configurations|publisher=Oracle Corporation|access-date=2014-04-15}} but as of JDK 8 update 25, it can still be installed and run under Windows XP.{{cite web|url=https://blogs.oracle.com/henrik/entry/the_future_of_java_on|title=Updated: The future of Java on Windows XP|publisher=Oracle Corporation|first=Henrik|last=Stahl|quote=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.|date=2014-07-11|access-date=2014-11-11|url-status=dead|archive-url=https://web.archive.org/web/20141111174328/https://blogs.oracle.com/henrik/entry/the_future_of_java_on|archive-date = 2014-11-11}} 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.

From October 2014, Java 8 was the default version to download (and then again the download replacing Java 9) from the official website.{{cite web |first=Tori |last=Wieldt |date=October 27, 2014 |url=https://blogs.oracle.com/java/entry/java_se_8_on_java |title=Java SE 8 on Java.com |work=blog.oracle.com |access-date=November 24, 2014 |archive-url=https://web.archive.org/web/20141129113353/https://blogs.oracle.com/java/entry/java_se_8_on_java |archive-date=November 29, 2014 |url-status=dead }} "Oracle will continue to provide Public Updates and auto updates of Java SE 8, Indefinitely for Personal Users".{{cite web |url=https://www.oracle.com/technetwork/java/javase/eol-135779.html |title=Oracle Java SE Support Roadmap |access-date=2021-02-17}}

= Java 8 updates =

class="wikitable mw-collapsible mw-collapsed"

|+class="nowrap" | Table of Java 8 updates

width=170 | Release

!width=100 | Release date

!Highlights

Java SE 8

|2014-03-18

|Initial release

Java SE 8 Update 5{{cite web |url=https://www.oracle.com/technetwork/java/javase/8train-relnotes-latest-2153846.html |title=Java SE Development Kit 8, Update 5 (JDK 8u5) |author= |website=oracle.com |access-date=2014-04-28}}

|2014-04-15

|Using "*" in Caller-Allowable-Codebase attribute; 11 bug fixes

Java SE 8 Update 11{{cite web |url=https://www.oracle.com/technetwork/java/javase/8u11-relnotes-2232915.html |title=Java SE Development Kit 8, Update 11 (JDK 8u11) |author= |website=oracle.com |access-date=2014-07-16}}

|2014-07-15

|Java Dependency Analysis Tool (jdeps); Java Control Panel option to disable sponsors; JAR file attribute – Entry-Point; JAXP processing limit property – maxElementDepth; 18 security bug fixes,{{cite web |url=https://www.oracle.com/technetwork/topics/security/cpujul2014verbose-1972958.html#JAVA|title=18 security bug fixes |author= |website=oracle.com |access-date=2014-07-16}} 15 bug fixes

Java SE 8 Update 20{{cite web |url=https://www.oracle.com/technetwork/java/javase/8u20-relnotes-2257729.html |title=Java SE Development Kit 8, Update 20 (JDK 8u20) |author= |website=oracle.com |access-date=2014-08-27}}

|2014-08-19

|669 bug fixes,{{Cite web|url=https://www.oracle.com/technetwork/java/javase/2col/8u20-bugfixes-2257730.html|title=Java SE Development Kit 8 Update 20 Bug Fixes|website=oracle.com}} JMC 5.4, String deduplication (disabled by default)

Java SE 8 Update 25{{cite web |url=https://www.oracle.com/technetwork/java/javase/8u25-relnotes-2296185.html |title=Java SE Development Kit 8, Update 25 (JDK 8u25) |author= |website=oracle.com |access-date=2014-10-14}}

| 2014-10-14

| 10 bug fixes

Java SE 8 Update 31{{cite web |url=https://www.oracle.com/technetwork/java/javase/8u31-relnotes-2389094.html |title=Java SE Development Kit 8, Update 31 (JDK 8u31) |author= |website=oracle.com |access-date=2015-01-21}}

| 2015-01-19

| 26 bug fixes; SSLv3 (disabled by default)

Java SE 8 Update 40{{cite web |url=https://www.oracle.com/technetwork/java/javase/8u40-relnotes-2389089.html |title=Java SE Development Kit 8, Update 40 (JDK 8u40) |author= |website=oracle.com |access-date=2015-03-04}}

| 2015-03-03

| 645 bug fixes,{{Cite web|url=https://www.oracle.com/technetwork/java/javase/2col/8u40-bugfixes-2423829.html|title=Java SE Development Kit 8 Update 40 Bug Fixes|website=oracle.com}} Added the notion of "memory pressure" to help indicate how much of system's memory is still available (low pressure = high memory, high pressure = low memory)

Java SE 8 Update 45{{cite web |url=https://www.oracle.com/technetwork/java/javase/8u45-relnotes-2494160.html |title=Java SE Development Kit 8, Update 45 (JDK 8u45) |author= |website=oracle.com |access-date=2015-04-15}}

| 2015-04-14

| 13 bug fixes

Java SE 8 Update 51{{cite web |url=https://www.oracle.com/technetwork/java/javase/8u51-relnotes-2587590.html |title=Java SE Development Kit 8, Update 51 (JDK 8u51) |author= |website=oracle.com |access-date=2015-07-14}}

| 2015-07-14

| Added support for native sandbox on Windows platforms (disabled by default); also, 25 security fixes, 14 bug fixes

Java SE 8 Update 60{{cite web |url=https://www.oracle.com/technetwork/java/javase/8u60-relnotes-2620227.html |title=Java SE Development Kit 8, Update 60 (JDK 8u60) |author= |website=oracle.com |access-date=2015-08-18}}

| 2015-08-18

| 480 bug fixes{{Cite web|url=https://www.oracle.com/technetwork/java/javase/2col/8u60-bugfixes-2620228.html|title=Java SE Development Kit 8 Update 60 Bug Fixes|website=oracle.com}}

Java SE 8 Update 65{{cite web |url=https://www.oracle.com/technetwork/java/javase/8u65-relnotes-2687063.html |title=Java SE Development Kit 8, Update 65 (JDK 8u65) |author= |website=oracle.com |access-date=2015-10-20}}

| 2015-10-20

| 25 security fixes, 3 bug fixes

Java SE 8 Update 66{{cite web|title=Java SE Development Kit 8, Update 66 Release Notes|url=https://www.oracle.com/technetwork/java/javase/8u66-relnotes-2692847.html|website=oracle.com|access-date=October 22, 2015}}

| 2015-11-16

| 15 bug fixes

Java SE 8 Update 71{{cite web|title=Java SE Development Kit 8, Update 71 Release Notes|url=https://www.oracle.com/technetwork/java/javase/8u71-relnotes-2773756.html|website=oracle.com|access-date=January 20, 2015}}

| 2016-01-19

| 8 security fixes, 5 bug fixes{{cite web|title=Java SE Development Kit 8 Update 71 Bug Fixes|url=https://www.oracle.com/technetwork/java/javase/2col/8u71-bugfixes-2811127.html|website=oracle.com|access-date=January 20, 2015}}

Java SE 8 Update 72{{cite web|title=Java SE Development Kit 8, Update 72 Release Notes|url=https://www.oracle.com/java/technologies/javase/8u72-relnotes.html|website=oracle.com}}

| 2016-01-19

| 8 security fixes, 5 bug fixes, several enhancements

Java SE 8 Update 73{{cite web|title=Java SE Development Kit 8, Update 73 Release Notes|url=https://www.oracle.com/technetwork/java/javase/8u73-relnotes-2874654.html|website=oracle.com|access-date=February 6, 2016}}

| 2016-02-03

| 1 security fix

Java SE 8 Update 74{{cite web|title=Java SE Development Kit 8, Update 74 Release Notes|url=https://www.oracle.com/technetwork/java/javase/8u74-relnotes-2879024.html|website=oracle.com|access-date=February 6, 2016}}

| 2016-02-03

| 1 security fix

Java SE 8 Update 77{{cite web|title=Java SE Development Kit 8, Update 77 Release Notes|url=https://www.oracle.com/technetwork/java/javase/8u77-relnotes-2944725.html|website=oracle.com|access-date=March 23, 2016}}

| 2016-03-23

| 1 security fix

Java SE 8 Update 91{{cite web|title=Java SE Development Kit 8, Update 91 Release Notes|url=https://www.oracle.com/technetwork/java/javase/8u91-relnotes-2949462.html|website=oracle.com|access-date=March 23, 2016}}

| 2016-04-19

| 9 security fixes, 4 bug fixes and enhancements

Java SE 8 Update 92{{cite web|title=Java SE Development Kit 8, Update 92 Release Notes|url=https://www.oracle.com/technetwork/java/javase/8u92-relnotes-2949471.html|access-date=March 23, 2016}}

| 2016-04-19

| Security and bug fixes from 8u91, plus 76 additional bug fixes; the ExitOnOutOfMemoryError and CrashOnOutOfMemoryError flags have been introduced

Java SE 8 Update 101{{cite web|title=Java SE Development Kit 8, Update 101 Release Notes|url=https://www.oracle.com/technetwork/java/javase/8u101-relnotes-3021761.html|access-date=July 19, 2016}}

| 2016-07-19

| Security and bug fixes from 8u92, plus 9 additional bug fixes

Java SE 8 Update 102{{cite web|title=Java SE Development Kit 8, Update 102 Release Notes|url=https://www.oracle.com/technetwork/java/javase/8u102-relnotes-3021767.html|access-date=July 19, 2016}}

| 2016-07-19

| Security and bug fixes from 8u101, plus 118 additional bug fixes

Java SE 8 Update 111{{cite web|title=Java SE Development Kit 8, Update 111 Release Notes|url=https://www.oracle.com/technetwork/java/javase/8u111-relnotes-3124969.html|access-date=October 19, 2016}}

| 2016-10-18

| 7 Security fixes and 9 bug fixes

Java SE 8 Update 112{{cite web|title=Java SE Development Kit 8, Update 112 Release Notes|url=https://www.oracle.com/technetwork/java/javase/8u112-relnotes-3124973.html|access-date=October 19, 2016}}

| 2016-10-18

| Additional features and 139 bug fixes over 8u111

Java SE 8 Update 121{{cite web|title=Java SE Development Kit 8, Update 121 Release Notes|url=https://www.oracle.com/technetwork/java/javase/8u121-relnotes-3315208.html|access-date=January 17, 2016}}

| 2017-01-17

| 3 additional features, 5 changes, and 11 bug fixes over 8u112.

Java SE 8 Update 131{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u131-relnotes-3565278.html|title=Java SE Development Kit 8, Update 131 Release Notes|website=oracle.com|access-date=2017-04-18}}

| 2017-04-18

| 4 changes and 42 bug fixes (2 notable).

Java SE 8 Update 141{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u141-relnotes-3720385.html|title=Java SE Development Kit 8, Update 141 Release Notes|website=oracle.com|access-date=2017-07-18}}

| 2017-07-18

| Additional feature, 3 changes and 12 bug fixes.

Java SE 8 Update 144{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u144-relnotes-3838694.html|title=Java SE Development Kit 8, Update 144 Release Notes|website=oracle.com|access-date=2017-07-26}}

| 2017-07-26

| 32 Security fixes and bug fixes from 8u141.

Java SE 8 Update 151{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u151-relnotes-3850493.html|title=Java SE Development Kit 8, Update 151 Release Notes|website=oracle.com|access-date=2017-10-19}}

| 2017-10-17

| 22 Security fixes, 2 notes, 1 certificate revocation, 1 new feature, 6 changes and 24 bug fixes from 8u144.

Java SE 8 Update 152{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u152-relnotes-3850503.html|title=Java SE Development Kit 8, Update 152 Release Notes|website=oracle.com|access-date=2017-10-19}}

| 2017-10-17

| Security fixes, 1 new feature, 1 change and 238 bug fixes from 8u151 (1 notable).

Java SE 8 Update 161{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u161-relnotes-4021379.html|title=Java SE Development Kit 8, Update 161 Release Notes|website=oracle.com|access-date=2018-01-18}}

| 2018-01-16

| 21 Security fixes, 3 new features, 9 changes and 1 bug fix from 8u152.

Java SE 8 Update 162{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u162-relnotes-4021436.html|title=Java SE Development Kit 8, Update 162 Release Notes|website=oracle.com|access-date=2018-01-16}}

| 2018-01-16

| Security fixes, 63 bug fixes.

Java SE 8 Update 171{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u171-relnotes-4308888.html|title=Java SE Development Kit 8, Update 171 Release Notes|website=oracle.com|access-date=2018-04-17}}

| 2018-04-17

| Security fixes, bug fixes.

Java SE 8 Update 172{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u172-relnotes-4308893.html|title=Java SE Development Kit 8, Update 172 Release Notes|website=oracle.com|access-date=2018-04-17}}

| 2018-04-17

| Security fixes, bug fixes.

Java SE 8 Update 181{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u181-relnotes-4479407.html|title=Java SE Development Kit 8, Update 181 Release Notes|website=oracle.com|access-date=2018-07-20}}

| 2018-07-17

| Security fixes, bug fixes.

Java SE 8 Update 191{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u191-relnotes-5032181.html|title=Java SE Development Kit 8, Update 191 Release Notes|website=oracle.com|access-date=2018-10-16}}

| 2018-10-16

| New features, changes, bug fixes, security fixes.

Java SE 8 Update 192{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u192-relnotes-4479409.html|title=Java SE Development Kit 8, Update 192 Release Notes|website=oracle.com|access-date=2018-10-16}}

| 2018-10-16

| New features, changes, bug fixes.

Java SE 8 Update 201{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u201-relnotes-5209271.html|title=Java SE Development Kit 8, Update 201 Release Notes|website=oracle.com|access-date=2019-01-16}}

| 2019-01-15

| New features, changes, bug fixes.

Java SE 8 Update 202{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u202-relnotes-5209339.html|title=Java SE Development Kit 8, Update 202 Release Notes|website=oracle.com|access-date=2019-01-16}}

| 2019-01-15

| New features, changes, bug fixes.

Java SE 8 Update 211{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u211-relnotes-5290139.html|title=Java SE Development Kit 8, Update 211 Release Notes|website=oracle.com|access-date=2019-04-16}}

| 2019-04-16

| New features, changes, bug fixes. License Update.

Java SE 8 Update 212{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u212-relnotes-5292913.html|title=Java SE Development Kit 8, Update 212 Release Notes|website=oracle.com|access-date=2019-04-16}}

| 2019-04-16

| New features (e.g. 5 currency symbols, including for Bitcoin and "New Japanese Era Name Reiwa"), changes, bug fixes. License Update.

Java SE 8 Update 221{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u221-relnotes-5480116.html|title=Java SE Development Kit 8, Update 221 Release Notes|website=oracle.com|access-date=2019-07-30}}

| 2019-07-16

| New features, changes, bug fixes.

Java SE 8 Update 231{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u231-relnotes-5592812.html|title=Java SE Development Kit 8, Update 231 Release Notes|website=oracle.com|access-date=2019-10-16}}

| 2019-10-15

| New features, changes, bug fixes and 18 security fixes.

Java SE 8 Update 241{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u241-relnotes-5813177.html|title=Java SE Development Kit 8, Update 241 Release Notes|website=oracle.com|access-date=2020-01-18}}

| 2020-01-14

| New features, changes, bug fixes.

Java SE 8 Update 251{{cite web|url=https://www.oracle.com/technetwork/java/javase/8u251-relnotes-5972664.html|title=Java SE Development Kit 8, Update 251 Release Notes|website=oracle.com|access-date=2020-04-14}}

| 2020-04-14

| New features, changes, bug fixes. The last version that was shown to be working on Windows XP unofficially.

Java SE 8 Update 261{{cite web|url=https://www.oracle.com/java/technologies/javase/8u261-relnotes.html|title=Java SE Development Kit 8, Update 261 Release Notes|website=oracle.com|access-date=2022-04-19}}

| 2020-07-14

|New features, changes, 133 bug fixes.{{Cite web|title=JDK 8u261 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/8u261-bugfixes.html|access-date=2022-04-19|website=oracle.com}}

Java SE 8 Update 271{{cite web|url=https://www.oracle.com/java/technologies/javase/8u271-relnotes.html|title=Java SE Development Kit 8, Update 271 Release Notes|website=oracle.com|access-date=2022-04-19}}

| 2020-10-20

|New features, changes, 65 bug fixes.{{Cite web|title=JDK 8u271 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/8u271-bugfixes.html|access-date=2022-04-19|website=oracle.com}}

Java SE 8 Update 281{{cite web|url=https://www.oracle.com/java/technologies/javase/8u281-relnotes.html|title=Java SE Development Kit 8, Update 281 Release Notes|website=oracle.com|access-date=2022-04-19}}

| 2021-01-19

|New features, changes, 33 bug fixes.{{Cite web|title=JDK 8u281 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/8u281-bugfixes.html|access-date=2022-04-19|website=oracle.com}}

Java SE 8 Update 291{{cite web|url=https://www.oracle.com/java/technologies/javase/8u291-relnotes.html|title=Java SE Development Kit 8, Update 291 Release Notes|website=oracle.com|access-date=2022-04-19}}

| 2021-04-20

|New features, changes, 28 bug fixes.{{Cite web|title=JDK 8u291 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/8u291-bugfixes.html|access-date=2022-04-19|website=oracle.com}}

Java SE 8 Update 301{{Cite web|title=Java SE Development Kit 8, Update 301 Release Notes|url=https://www.oracle.com/java/technologies/javase/8u301-relnotes.html|access-date=2022-04-19|website=oracle.com}}

|2021-07-20

|New features, changes, 90 bug fixes.{{Cite web|title=JDK 8u301 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/8u301-bugfixes.html|access-date=2022-04-19|website=oracle.com}}

Java SE 8 Update 311{{Cite web|title=Java SE Development Kit 8, Update 311 Release Notes|url=https://www.oracle.com/java/technologies/javase/8u311-relnotes.html|access-date=2022-04-19|website=oracle.com}}

|2021-10-19

|New features, changes, 52 bug fixes.{{Cite web|title=JDK 8u311 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/8u311-bugfixes.html|access-date=2022-04-19|website=oracle.com}}

Java SE 8 Update 321{{Cite web|title=Java SE Development Kit 8, Update 321 Release Notes|url=https://www.oracle.com/java/technologies/javase/8u321-relnotes.html|access-date=2022-04-19|website=oracle.com}}

|2022-01-18

|New features, changes, 62 bug fixes.{{Cite web|title=Java SE Development Kit 8, Update 321 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/8u321-bugfixes.html|access-date=2022-04-19|website=oracle.com}}

Java SE 8 Update 331{{Cite web|title=Java SE Development Kit 8, Update 331 Release Notes|url=https://www.oracle.com/java/technologies/javase/8u331-relnotes.html|access-date=2022-04-19|website=oracle.com}}

|2022-04-19

|New features, changes, 37 bug fixes.{{Cite web|title=Java SE Development Kit 8, Update 331 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/8u331-bugfixes.html|access-date=2022-04-19|website=oracle.com}}

Java SE 8 Update 333{{Cite web|title=Java SE Development Kit 8, Update 333 Release Notes|url=https://www.oracle.com/java/technologies/javase/8u333-relnotes.html|access-date=2022-05-02|website=oracle.com}}

|2022-05-02

|Patch w/1 change and 2 bug fixes.{{Cite web|title=Java SE Development Kit 8, Update 333 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/8u333-relnotes.html|access-date=2022-05-02|website=oracle.com}}

Java SE 8 Update 341{{Cite web|title=Java SE Development Kit 8, Update 341 Release Notes|url=https://www.oracle.com/java/technologies/javase/8u341-relnotes.html|access-date=2022-07-30|website=oracle.com}}

|2022-07-19

|New features, changes, 42 bug fixes.{{Cite web|title=Java SE Development Kit 8, Update 341 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/8u341-bugfixes.html|access-date=2022-07-30|website=oracle.com}}

Java SE 8 Update 351{{Cite web|title=Java SE Development Kit 8, Update 351 Release Notes|url=https://www.oracle.com/java/technologies/javase/8u351-relnotes.html|access-date=2022-10-18|website=oracle.com}}

|2022-10-18

|New features, changes, 95 bug fixes.{{Cite web|title=Java SE Development Kit 8, Update 351 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/8u351-bugfixes.html|access-date=2022-10-18|website=oracle.com}}

Java SE 8 Update 361{{Cite web|title=Java SE Development Kit 8, Update 361 Release Notes|url=https://www.oracle.com/java/technologies/javase/8u361-relnotes.html|access-date=2023-03-24|website=oracle.com}}

|2023-01-17

|New features, changes, bug fixes.

Java SE 8 Update 371{{Cite web|title=Java SE Development Kit 8, Update 371 Release Notes|url=https://www.oracle.com/java/technologies/javase/8u371-relnotes.html|website=oracle.com}}

|2023-04-18

|

Java SE 8 Update 381{{Cite web|title=Java SE Development Kit 8, Update 381 Release Notes|url=https://www.oracle.com/java/technologies/javase/8u381-relnotes.html|access-date=2023-09-12|website=oracle.com}}

|2023-07-18

|Security Patches

Java SE 8 Update 391{{Cite web|title=Java SE Development Kit 8, Update 391 Release Notes|url=https://www.oracle.com/java/technologies/javase/8u391-relnotes.html|access-date=2023-11-15|website=oracle.com}}

|2023-10-17

|

Java SE 8 Update 401{{Cite web|title=Java SE Development Kit 8, Update 401 Release Notes|url=https://www.oracle.com/java/technologies/javase/8u401-relnotes.html#R180_401|website=oracle.com}}

|2024-01-16

|

Java SE 8 Update 411{{Cite web|title=Java SE Development Kit 8, Update 411 Release Notes|url=https://www.oracle.com/java/technologies/javase/8u411-relnotes.html|website=oracle.com}}

|2024-04-16

|Update time zone data to IANA TZ Data 2024a, new features, changes, updates to third-party libraries, 37 bug fixes.

Java SE 8 Update 421{{Cite web|title=Java SE Development Kit 8, Update 421 Release Notes|url=https://www.oracle.com/java/technologies/javase/8u421-relnotes.html|website=oracle.com}}

|2024-07-16

|

Java SE 8 Update 431{{Cite web |title=Java SE Development Kit 8, Update 431 Release Notes |url=https://www.oracle.com/java/technologies/javase/8u431-relnotes.html |website=oracle.com}}

|2024-10-15

|

Java SE 8 Update 441{{Cite web |title=Java SE Development Kit 8, Update 441 Release Notes |url=https://www.oracle.com/java/technologies/javase/8u441-relnotes.html |website=oracle.com}}

|2025-01-21

|

Java SE 8 Update 451{{Cite web |title=Java SE Development Kit 8, Update 451 Release Notes |url=https://www.oracle.com/java/technologies/javase/8u451-relnotes.html |website=oracle.com}}

|2025-04-15

|

{{Anchor|Java 9}}

Java SE 9

{{Infobox Java version

| version name = Java SE 9

| released = {{Start date and age|2017|9|21|df=y|br=yes|paren=yes}}

| jeps = 9

| public_death = {{End date|2018|3}}

}}

Java SE 9 was made available on September 21, 2017{{cite web|url=https://openjdk.java.net/projects/jdk9/|title=JDK 9|access-date=2017-06-16}} due to controversial acceptance of the current implementation of Project Jigsaw by Java Executive Committee{{cite web|url=https://www.infoworld.com/article/3195180/java/java-modularity-specification-opposed-by-red-hat-ibm-is-voted-down.html|title=Java modularity specification opposed by Red Hat, IBM is voted down|access-date=2017-06-16| publisher=InfoWorld|date=2017-05-09}} 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.{{cite web |url= https://www.theregister.co.uk/2017/07/02/java_9_release_back_on_track/|title=Java 9 release back on track, community votes 'yes' |first=Richard |last=Chirgwin |work=theregister.co.uk |date=July 2, 2017|access-date=2017-07-29}}

  • JSR 376: Modularization of the JDK under Project Jigsaw (Java Platform Module System){{cite web|url=https://openjdk.java.net/projects/jigsaw/|title=Project Jigsaw|publisher=OpenJDK}}
    {{cite web|url=https://openjdk.java.net/projects/jigsaw/doc/draft-java-module-system-requirements-12|title=Java Module-System Requirements — DRAFT 12|publisher=Oracle}}
    {{cite web |last=Krill |first=Paul |date=2012-07-18 |df=mdy |url=https://www.infoworld.com/article/2078598/project-jigsaw-delayed-until-java-9.html |title=Project Jigsaw delayed until Java 9 |work=InfoWorld |access-date=2020-07-15}}
  • JavaDB was removed from JDK{{cite web|title=Java Platform, Standard Edition Oracle JDK 9 Migration Guide|url=https://docs.oracle.com/javase/9/migrate/toc.htm|website=docs.oracle.com|access-date=15 May 2018}}
  • {{Java JEP|193|Variable handles}}, define a standard means to invoke the equivalents of various java.util.concurrent.atomic and sun.misc.Unsafe operations
  • {{Java JEP|213|Milling Project Coin}}, allow @SafeVarargs on private instance methods; Allow effectively-final variables to be used as resources in the try-with-resources statement; Allow diamond with anonymous classes if the argument type of the inferred type is denotable; Complete the removal, begun in Java SE 8, of underscore from the set of legal identifier names; Support for private methods in interfaces
  • {{Java JEP|222|jshell: The Java Shell (Read-Eval-Print Loop)}}: JShell is a REPL command-line interface for the Java language.{{cite web|url=https://openjdk.java.net/projects/kulla/|title=OpenJDK: Project Kulla}}
  • {{Java JEP|254|Compact Strings}}
  • {{Java JEP|263|HiDPI graphics: automatic scaling and sizing}}
  • {{Java JEP|266|More concurrency updates}}, it includes a Java implementation of Reactive Streams,{{Cite web|url=http://cs.oswego.edu/pipermail/concurrency-interest/2015-January/013641.html|title=[concurrency-interest] jdk9 Candidate classes Flow and Submission Publisher|first=Doug|last=Lea|date=January 15, 2015|access-date=December 24, 2015|archive-date=January 20, 2015|archive-url=https://web.archive.org/web/20150120055013/http://cs.oswego.edu/pipermail/concurrency-interest/2015-January/013641.html|url-status=dead}} including a new Flow class{{Cite web|url=https://docs.oracle.com/javase/9/docs/api/java/util/concurrent/Flow.html|title=Flow (Java SE 9 & JDK 9 )|website=docs.oracle.com}} that included the interfaces previously provided by Reactive Streams[http://www.infoq.com/news/2015/06/Reactive-Streams-JVM-Version Reactive Streams Releases First Stable Version for JVM]
  • {{Java JEP|268|XML catalogs}}
  • {{Java JEP|282|jlink: The Java Linker}}, create a tool that can assemble and optimize a set of modules and their dependencies into a custom run-time image. It effectively allows to produce a fully usable executable including the JVM to run it
  • {{Java JEP|295|Ahead-of-Time Compilation}}, ahead-of-time compilation provided by GraalVM

The first Java 9 release candidate was released on August 9, 2017.{{cite web|url=https://mail.openjdk.java.net/pipermail/jdk9-dev/2017-August/005940.html|title=JDK 9: First Release Candidate|date=2017-08-09|access-date=2017-08-21}} The first stable release of Java 9 was on September 21, 2017.{{cite web|url=https://www.techworld.com/news/developers/java-9-release-date-new-features-3660988/|title=Java 9: Release date and new features|publisher=techworld.com|date=2017-07-21|access-date=2017-09-16|archive-date=2017-12-07|archive-url=https://web.archive.org/web/20171207050626/https://www.techworld.com/news/developers/java-9-release-date-new-features-3660988/|url-status=dead}}
{{cite web|url=https://openjdk.java.net/projects/jdk9/|title=JDK 9|publisher=Oracle Corporation|access-date=2017-09-16}}

= History =

At JavaOne 2011, Oracle discussed features they hoped to release for Java 9 in 2016.{{cite web | url=https://www.networkworld.com/article/938806/mark-your-calendar-java-9-finally-has-a-release-date.html | title=Mark your calendar: Java 9 finally has a release date| date=2015-05-07}} Java 9 should include better support for multi-gigabyte heaps, better native code integration, a different default garbage collector (G1, for "shorter response times"){{Cite web|url=https://jaxenter.com/java-9s-new-garbage-collector-whats-changing-whats-staying-118313.html|title=Java 9's new garbage collector: What's changing? What's staying?|date=June 26, 2015}} and a self-tuning JVM.{{cite web

| url = https://drdobbs.com/blogs/java/231900029

| title = JavaOne: JavaFX 2, Java on iOS}} In early 2016, the release of Java 9 was rescheduled for March 2017{{cite web | url=http://news.filehippo.com/2016/01/java-9-release-date-now-march-2017/ | title=Java 9 Release Date Now March 2017| date=2016-01-05}} and later again postponed four more months to July 2017.{{cite news|url=https://www.theregister.co.uk/2016/09/14/jdk_9_release_delay/|title=JDK 9 release delayed another four months|access-date=2016-10-14| publisher=The Register}}

= Java 9 updates =

class="wikitable mw-collapsible mw-collapsed"

|+ class="nowrap" | Table of Java 9 updates

! width=170 | Release

! width=100 | Release date

! Highlights

Java SE 9{{cite web|url=https://www.oracle.com/java/technologies/javase/9-relnotes.html|title=JDK 9 Release Notes|publisher=oracle.com|date=2017-09-21}}

| 2017-09-21

| Initial release

Java SE 9.0.1{{cite web|url=https://www.oracle.com/java/technologies/javase/9-0-1-relnotes.html|title=JDK 9.0.1 Release Notes|publisher=oracle.com|date=2017-10-17}}

| 2017-10-17

| New features

  • Add Additional IDL Stub Type Checks to org.omg.CORBA.ORB::string_to_object Method (other-libs/corba)

Known issues

  • TLS does not work by default on OpenJDK 9 (security-libs/java.security)

Changes

  • Remove revoked Swisscom root certificate "swisscomrootevca2" (security-libs/java.security)
  • Refactor existing providers to refer to the same constants for default values for key length (security-libs/java.security)
  • Collections use serialization filter to limit array sizes (security-libs/java.security)
  • Add warnings to keytool when using JKS and JCEKS (security-libs/java.security)

Other notes

  • Default timeouts have changed for FTP URL handler (core-libs/java.net)

Bug fixes

  • 12 bug fixes{{Cite web|date=2017-10-17|title=JDK 9.0.1 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/9-0-1-bugfixes.html|website=oracle.com}}

Java SE 9.0.4{{cite web|url=https://www.oracle.com/java/technologies/javase/9-0-4-relnotes.html|title=JDK 9.0.4 Release Notes|publisher=oracle.com|date=2018-01-16}}

| 2018-01-16

| New features

  • Open source the root certificates in Oracle's Java SE Root CA program (security-libs/javax.net.ssl)
  • Added TLS session hash and extended master secret extension support (security-libs/javax.net.ssl)
  • Negotiated Finite Field Diffie-Hellman Ephemeral Parameters for TLS (security-libs/javax.net.ssl)
  • Add additional IDL stub type checks to org.omg.CORBA.ORBstring_to_object method (other-libs/corba)

Changes

  • RSA public key validation (security-libs/javax.crypto)
  • Provider default key size is updated (security-libs/javax.crypto)
  • Stricter key generation (security-libs/javax.crypto)
  • Disable exportable cipher suites (security-libs/javax.net.ssl)
  • JMX Connections need deserialization filters (core-svc/javax.management)
  • JDK Transform, Validation and XPath use the system-default parser (xml/jaxp)

Bug fixes

  • JNLP files won't launch from IE11 on Windows 10 Creators Update (deploy/webstart)
  • 11 bug fixes{{Cite web|date=2018-01-16|title=JDK 9.0.4 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/9-0-4-bugfixes.html|website=oracle.com}}

{{Anchor|Java 10}}

Java SE 10

{{Infobox Java version

| version name = Java SE 10

| released = {{Start date and age|2018|3|20|df=y|br=yes|paren=yes}}

| jeps = 12

| public_death = {{End date|2018|9}}

}}

OpenJDK 10 was released on March 20, 2018, with twelve new features confirmed.{{cite web|title=JDK 10|url=https://openjdk.java.net/projects/jdk/10/}} Among these features were:

  • {{Java JEP|286|Local-Variable Type Inference}}
  • {{Java JEP|296|Consolidate the JDK Forest into a Single Repository}}
  • {{Java JEP|304|Garbage-Collector Interface}}
  • {{Java JEP|307|Parallel Full GC for G1}}
  • {{Java JEP|310|Application Class-Data Sharing}}
  • {{Java JEP|312|Thread-Local Handshakes}}
  • {{Java JEP|313|Remove the Native-Header Generation Tool (javah)}}
  • {{Java JEP|314|Additional Unicode Language-Tag Extensions}}
  • {{Java JEP|316|Heap Allocation on Alternative Memory Devices}}
  • {{Java JEP|317|Experimental Java-Based JIT Compiler}}
  • {{Java JEP|319|Root Certificates}}
  • {{Java JEP|322|Time-Based Release Versioning}}

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. Due to this change, developers can do the following instead of manually specifying the variable's type:

var list = new ArrayList(); // infers ArrayList

var stream = list.stream(); // infers Stream

= Java 10 updates =

class="wikitable mw-collapsible mw-collapsed"

|+ class="nowrap" | Table of Java 10 updates

! width=170 | Release

! width=100 | Release date

! Highlights

Java SE 10{{cite web|url=https://www.oracle.com/java/technologies/javase/10-relnotes.html|title=JDK 10 Release Notes|publisher=oracle.com|date=2018-03-20}}

| 2018-03-20

| Initial release

Java SE 10.0.1{{cite web|url=https://www.oracle.com/java/technologies/javase/10-0-1-relnotes.html|title=JDK 10.0.1 Release Notes|publisher=oracle.com|date=2018-04-17}}

| 2018-04-17

| New features

  • Enhanced KeyStore Mechanisms (security-libs/javax.crypto)

Changes

  • XML Signatures Signed with EC Keys Less Than 224 Bits Disabled (security-libs/javax.xml.crypto)
  • 3DES Cipher Suites Disabled (security-libs/javax.net.ssl)

Other notes

  • CipherOutputStream Usage (security-libs/javax.crypto)

Bug fixes

  • 5 bug fixes{{cite web|url=https://www.oracle.com/java/technologies/javase/10-0-1-bugfixes.html|title=JDK 10.0.1 Bug Fixes|publisher=oracle.com|date=2018-04-17}}
Java SE 10.0.2{{cite web|url=https://www.oracle.com/java/technologies/javase/10-0-2-relnotes.html|title=JDK 10.0.2 Release Notes|publisher=oracle.com|date=2018-07-17}}

| 2018-07-17

| Changes

  • filterArguments runs multiple filters in the wrong order (core-libs/java.lang.invoke)
  • Improve LDAP support (core-libs/javax.naming)
  • Better stack walking (core-libs/java.io:serialization)

Bug fixes

  • JVM Crash during G1 GC (hotspot/gc)
  • 7 bug fixes{{cite web|url=https://www.oracle.com/java/technologies/javase/10-0-2-bugfixes.html|title=JDK 10.0.2 Bug Fixes|publisher=oracle.com|date=2018-07-17}}

{{Anchor|Java 11}}

Java SE 11 (LTS)

{{Infobox Java version

| version name = Java SE 11

| lts = yes

| released = {{Start date and age|2018|9|25|df=y|br=yes|paren=yes}}

| jeps = 17

| removed = Java 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:{{cite web|last=OpenJDK|title=JDK 11|url=https://openjdk.java.net/projects/jdk/11/}}

  • {{Java JEP|181|Nest-Based Access Control}}
  • {{Java JEP|309|Dynamic Class-File Constants}}
  • {{Java JEP|315|Improve Aarch64 Intrinsics}}
  • {{Java JEP|318|Epsilon: A No-Op Garbage Collector}}
  • {{Java JEP|320|Remove the Java EE and CORBA Modules}}
  • {{Java JEP|321|HTTP Client (Standard)}}
  • {{Java JEP|323|Local-Variable Syntax for Lambda Parameters}}
  • {{Java JEP|324|Key Agreement with Curve25519 and Curve448}}
  • {{Java JEP|327|Unicode 10}}
  • {{Java JEP|328|Flight Recorder}}
  • {{Java JEP|329|ChaCha20 and Poly1305 Cryptographic Algorithms}}
  • {{Java JEP|330|Launch Single-File Source-Code Programs}}
  • {{Java JEP|331|Low-Overhead Heap Profiling}}
  • {{Java JEP|332|Transport Layer Security (TLS) 1.3}}
  • {{Java JEP|333|ZGC: A Scalable Low-Latency Garbage Collector (Experimental)}}
  • {{Java JEP|335|Deprecate the Nashorn JavaScript Engine}}
  • {{Java JEP|336|Deprecate the Pack200 Tools and API}}

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.{{cite web |title=Oracle JDK Migration Guide |url=https://docs.oracle.com/en/java/javase/11/migrate/index.html |website=Oracle Help Center |access-date=27 September 2018}}

= Java 11 updates =

class="wikitable mw-collapsible mw-collapsed"

|+ class="nowrap" | Table of Java 11 updates

! width="170" | Release

! width="100" | Release date

! Highlights

Java SE 11{{cite web|url=https://www.oracle.com/java/technologies/javase/11-relnotes.html|title=JDK 11|publisher=oracle.com|date=2018-09-25}}

| 2018-09-25

| Initial release

Java SE 11.0.1{{cite web|url=https://www.oracle.com/java/technologies/javase/11-0-1-relnotes.html#R11_0_1|title=JDK 11.0.1 Release Notes|publisher=oracle.com|date=2018-10-16}}

| 2018-10-16

| Changes

  • Added Additional TeliaSonera Root Certificate (security-libs/java.security)
  • Improve LDAP support (core-libs/javax.naming)
  • Changed Central File System Location for usagetracker.properties File (core-svc)
  • Problem looking up Client Certificates in keystore (security-libs/javax.net.ssl)
  • Disabled All DES TLS Cipher Suites (security-libs/javax.net.ssl)
  • Improved Cipher Inputs (security-libs/javax.crypto)

Bug fixes

  • LDAPS Communication Failure (core-libs/javax.naming)
  • Better HTTP Redirection Support (core-libs/java.net)
  • 5 bug fixes{{Cite web|date=2018-10-16|title=JDK 11.0.1 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/11-0-1-bugfixes.html|website=oracle.com}}

Java SE 11.0.2{{cite web |url=https://www.oracle.com/java/technologies/javase/11-0-2-relnotes.html#R11_0_2|title=JDK 11.0.2 Release Notes|publisher=oracle.com|date=2019-01-15}}

| 2019-01-15

| Known issues

  • GTK+ 3.20 and Later Unsupported by Swing (client-libs)

Changes

  • TLS anon and NULL Cipher Suites are Disabled (security-libs/javax.net.ssl)
  • Linux Native Code Checks (hotspot/runtime)
  • Enable Java Access Bridge Check Box Option in Control Panel Is Not Available with JDK 11 Installer (security-libs/javax.net.ssl)

Bug fixes

  • 59 bug fixes{{Cite web|date=2019-01-15|title=JDK 11.0.2 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/11-0-2-bugfixes.html|website=oracle.com}}

Java SE 11.0.3{{cite web|url=https://www.oracle.com/java/technologies/javase/11-0-3-relnotes.html#R11_0_3|title=JDK 11.0.3 Release Notes|publisher=oracle.com|date=2019-04-16}}

| 2019-04-16

| New features

  • Square Character Support for Japanese New Era (core-libs/java.util:i18n)

Known issues

  • Java Access Bridge Installation Workaround (install)

Changes

  • Added GlobalSign R6 Root Certificate (security-libs/java.security)
  • Distrust TLS Server Certificates Anchored by Symantec Root CAs (security-libs/javax.net.ssl)
  • New Japanese Era Name Reiwa (core-libs/java.time)
  • Support New Japanese Era in java.time.chrono.JapaneseEra (core-libs/java.time)

Bug fixes

  • 17 bug fixes{{Cite web|date=2019-04-16|title=JDK 11.0.3 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/11-0-3-bugfixes.html|website=oracle.com}}

Java SE 11.0.4{{cite web|url=https://www.oracle.com/java/technologies/javase/11-0-4-relnotes.html#R11_0_4|title=JDK 11.0.4 Release Notes|publisher=oracle.com|date=2019-07-16}}

| 2019-07-16

| New features

  • HotSpot Windows OS Detection Correctly Identifies Windows Server 2019 (hotspot/runtime)

Removed features and options

  • Removal of Two DocuSign Root CA Certificates (security-libs/java.security)
  • Removal of Two Comodo Root CA Certificates (security-libs/java.security)
  • Removal of T-Systems Deutsche Telekom Root CA 2 Certificate (security-libs/java.security)
  • Removal of GTE CyberTrust Global Root (security-libs/java.security)

Other notes

  • com.sun.org.apache.xml.internal.security.ignoreLineBreaks System Property (security-libs/javax.xml.crypto)
  • System Property to Switch Between Implementations of ECC (security-libs/javax.crypto)

Bug fixes

  • 42 bug fixes{{Cite web|date=2019-07-16|title=JDK 11.0.4 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/11-0-4-bugfixes.html|website=oracle.com}}

Java SE 11.0.5{{cite web|url=https://www.oracle.com/java/technologies/javase/11-0-5-relnotes.html#R11_0_5|title=JDK 11.0.5 Release Notes|publisher=oracle.com|date=2019-10-15}}

| 2019-10-15

| New features

  • New Java Flight Recorder (JFR) Security Events (security-libs/java.security)

Other notes

  • Using the JDK or JRE on macOS Catalina (10.15) (docs)
  • Remove Obsolete NIST EC Curves from the Default TLS Algorithms (security-libs/javax.net.ssl)
  • Use SunJCE Mac in SecretKeyFactory PBKDF2 Implementation (security-libs/javax.crypto)
  • Java Access Bridge Installation Workaround (install)
  • Updated XML Signature Implementation to Apache Santuario 2.1.3 (security-libs/javax.xml.crypto)
  • System Property jdk.security.useLegacyECC is Turned Off by Default (security-libs/javax.crypto)
  • Changed Properties.loadFromXML to Comply with Specification (core-libs/java.util)
  • Runtime.exec and ProcessBuilder Argument Restrictions (core-libs/java.lang)
  • Windows 2019 Core Server Is Not Supported (client-libs/2d)

Bug fixes

  • 83 bug fixes{{Cite web|date=2019-10-15|title=JDK 11.0.5 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/11-0-5-bugfixes.html|website=oracle.com}}

Java SE 11.0.6{{cite web|url=https://www.oracle.com/java/technologies/javase/11-0-6-relnotes.html#R11_0_6|title=JDK 11.0.6 Release Notes|publisher=oracle.com|date=2020-01-14}}

| 2020-01-14

| New features

  • Allow SASL Mechanisms to Be Restricted (security-libs/javax.security)
  • SunPKCS11 Provider Upgraded with Support for PKCS#11 v2.40 (security-libs/javax.crypto:pkcs11)

Other notes

  • Improve Registry Support (core-libs/java.rmi)
  • New Checks on Trust Anchor Certificates (security-libs/java.security)
  • Exact Match Required for Trusted TLS Server Certificate (security-libs/java.security)
  • Added LuxTrust Global Root 2 Certificate (install/security-libs/java.security)
  • Added 4 Amazon Root CA Certificates (security-libs/java.security)
  • Turn off AOT by Default and Change Related Flags to Experimental (hotspot/compiler)
  • Epsilon GC handled checked array stores incorrectly (hotspot/gc)

Bug fixes

  • Memory Growth Issue in SunPKCS11 Fixed (security-libs/javax.crypto:pkcs11)
  • Better Serial Filter Handling (core-libs/java.io:serialization)
  • 123 bug fixes{{Cite web|date=2020-01-14|title=JDK 11.0.6 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/11-0-6-bugfixes.html|website=oracle.com}}

Java SE 11.0.7{{cite web|url=https://www.oracle.com/java/technologies/javase/11-0-7-relnotes.html#R11_0_7|title=JDK 11.0.7 Release Notes|publisher=oracle.com|date=2020-04-14}}

| 2020-04-14

| New features

  • Support for MS Cryptography Next Generation (CNG) (security-libs/javax.crypto)

Bug fixes

  • 140 bug fixes{{Cite web|date=2020-04-14|title=JDK 11.0.7 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/11-0-7-bugfixes.html|website=oracle.com}}

Java SE 11.0.8{{Cite web|date=2020-07-14|title=JDK 11.0.8 Release Notes|url=https://www.oracle.com/java/technologies/javase/11-0-8-relnotes.html#R11_0_8|website=oracle.com}}

| 2020-07-14

| New features

  • New System Properties to Configure the TLS Signature Schemes (security-libs/javax.net.ssl)
  • Apache Santuario Library Updated to Version 2.1.4 (security-libs/javax.xml.crypto)
  • Toolchain Upgrade to Xcode 10.1 (infrastructure)
  • Oracle JDK Installer for Windows Provides Executables (javac, etc) in a Path Reachable From Any Command Prompt (install/install)

Removed features and options

  • Removal of Comodo Root CA Certificate (security-libs/java.security)
  • Removal of DocuSign Root CA Certificate (security-libs/java.security)

Other notes

  • Improved Serialization Handling (security-libs/javax.net.ssl)
  • Better Listing of Arrays (security-libs/javax.net.ssl)
  • Default SSLEngine Should Create in Server Role (security-libs/javax.net.sslc)
  • OperatingSystemMXBean Methods Inside a Container Return Container Specific Data (core-svc/java.lang.management)
  • Default SSL Session Cache Size Updated to 20480 (security-libs)
  • Deprecated NSWindowStyleMaskTexturedBackground (client-libs/javax.swing)

Bug fixes

  • 167 bug fixes{{Cite web|date=2020-07-14|title=JDK 11.0.8 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/11-0-8-bugfixes.html|website=oracle.com}}

Java SE 11.0.9{{Cite web|date=2020-10-20|title=JDK 11.0.9 Release Notes|url=https://www.oracle.com/java/technologies/javase/11-0-9-relnotes.html#R11_0_9|website=oracle.com}}

|2020-10-20

| New features

  • Weak Named Curves in TLS, CertPath, and Signed JAR Disabled by Default (security-libs/java.security)
  • Support for Kerberos Cross-Realm Referrals (RFC 6806) (security-libs/org.ietf.jgss:krb5)
  • Improve Certificate Chain Handling (security-libs/javax.net.ssl)
  • Tools Warn If Weak Algorithms Are Used (security-libs/java.security)
  • Support for canonicalize in krb5.conf (security-libs/org.ietf.jgss:krb5)

Other notes

  • Added Property to Control LDAP Authentication Mechanisms Allowed to Authenticate Over Clear Connections (core-libs/javax.naming)
  • Added 3 SSL Corporation Root CA Certificates (security-libs/java.security)
  • Added Entrust Root Certification Authority – G4 certificate (security-libs/java.security)
  • Localized Time Zone Name Inconsistency Between English and Other Locales (core-libs/java.util:i18n)
  • Enhanced Support of Proxy Class (core-libs/java.io:serialization)

Bug fixes

  • 118 bug fixes{{Cite web|date=2020-10-20|title=JDK 11.0.9 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/11-0-9-bugfixes.html|website=oracle.com}}

Java SE 11.0.10{{Cite web|date=2021-01-19|title=JDK 11.0.10 Release Notes|url=https://www.oracle.com/java/technologies/javase/11-0-10-relnotes.html#R11_0_10|website=oracle.com}}

| 2021-01-19

| New features

  • -groupname Option Added to keytool Key Pair Generation (security-libs/java.security)
  • Support for certificate_authorities Extension (security-libs/javax.net.ssl)
  • POSIX_SPAWN Option on Linux (core-libs/java.lang)
  • Support for X25519 and X448 in TLS (security-libs/javax.net.ssl)
  • jarsigner Preserves POSIX File Permission and symlink Attributes (security-libs/java.security)

Other notes

  • Oracle JDK11u for Solaris Now Requires harfbuzz to be Installed (client-libs/2d)
  • JDK time-zone data upgraded to tzdata2020d (core-libs/java.time)
  • JDK time-zone data upgraded to tzdata2020c (core-libs/java.time)
  • US/Pacific-New Zone Name Removed as Part of tzdata2020b (core-libs/java.time)

Bug fixes

  • 118 bug fixes{{Cite web|date=2021-01-19|title=JDK 11.0.10 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/11-0-10-bugfixes.html|website=oracle.com}}

Java SE 11.0.11{{Cite web|date=2021-04-20|title=JDK 11.0.11 Release Notes|url=https://www.oracle.com/java/technologies/javase/11-0-11-relnotes.html#R11_0_11|website=oracle.com}}

| 2021-04-20

| New features

  • jdeps --print-module-deps Reports Transitive Dependences (tools)

Other notes

  • New System and Security Properties to Control Reconstruction of Remote Objects by JDK's Built-in JNDI RMI and LDAP Implementations (core-libs/javax.naming)
  • Added 2 HARICA Root CA Certificates (security-libs/java.security)
  • Disable TLS 1.0 and 1.1 (security-libs/javax.net.ssl)
  • Modified the MS950 charset Encoder's Conversion Table (core-libs/java.nio.charsets)
  • Less Ambiguous Processing of ProcessBuilder Quotes on Windows > (core-libs/java.lang)

Bug fixes

  • 88 bug fixes{{Cite web|date=2021-04-20|title=JDK 11.0.11 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/11-0-11-bugfixes.html|website=oracle.com}}

Java SE 11.0.12{{Cite web|date=2021-07-20|title=JDK 11.0.12 Release Notes|url=https://www.oracle.com/java/technologies/javase/11-0-12-relnotes.html#R11_0_12|website=oracle.com}}

| 2021-07-20

| New features

  • Support cross-realm MSSFU (security-libs/org.ietf.jgss:krb5)
  • Customizing PKCS12 keystore Generation (security-libs/java.security)

Removed features and options

  • Removed Root Certificates with 1024-bit Keys (security-libs/java.security)
  • Removed Telia Company's Sonera Class2 CA Certificate (security-libs/java.security)

Other notes

  • Updated List of Capabilities Provided by JDK RPMs (install/install)
  • ADDLOCAL=ToolsFeature,SourceFeature Argument No Longer Needed For Windows JDK Installer (install/install)
  • Upgraded the Default PKCS12 Encryption and MAC Algorithms (security-libs/java.security)
  • Disable SHA-1 JARs (security-libs/java.security)
  • Improve Encoding of TLS Application-Layer Protocol Negotiation (ALPN) Values (security-libs/javax.net.ssl)
  • URL FTP Protocol Handler: IPv4 Address Validation in Passive Mode (core-libs/java.net)

Bug fixes

  • 106 bug fixes{{Cite web|date=2021-07-20|title=JDK 11.0.12 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/11-0-12-bugfixes.html|website=oracle.com}}

Java SE 11.0.13{{Cite web|date=2021-10-19|title=JDK 11.0.13 Release Notes|url=https://www.oracle.com/java/technologies/javase/11-0-13-relnotes.html#R11_0_13|website=oracle.com}}

| 2021-10-19

| New features

  • Context-specific Deserialization Filters (core-libs/java.io:serialization)

Removed features and options

  • Removed IdenTrust Root Certificate (security-libs/java.security)
  • Remove the Experimental AOT and JIT Compiler in OracleJDK 11u (hotspot/compiler)

Other notes

  • Release Doesn't Correctly Recognize Windows 11 (core-libs/java.lang)
  • Change to Package Names in Linux RPM/DEB Installers (install)
  • Updated the Default Enabled Cipher Suites Preference (security-libs/javax.net.ssl)
  • System Property to Control Reconstruction of Reference Address Objects by JDK's Built-in JNDI LDAP Implementation (core-libs/javax.naming)
  • Release Doesn't Correctly Recognize Windows Server 2022 (hotspot/runtime)
  • Updated keytool to Create AKID From SKID of Issuing Certificate as Specified by RFC 5280 (security-libs/java.security)
  • SunPKCS11 Initialization With NSS When External FIPS Modules Are in Security Modules Database (security-libs/javax.crypto:pkcs11)

Bug fixes

  • 93 bug fixes{{Cite web|date=2021-10-19|title=JDK 11.0.13 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/11-0-13-bugfixes.html|website=oracle.com}}

Java SE 11.0.14{{Cite web|date=2022-01-18|title=JDK 11.0.14 Release Notes|url=https://www.oracle.com/java/technologies/javase/11-0-14-relnotes.html#R11_0_14|website=oracle.com}}

| 2022-01-18

| New features

  • New SunPKCS11 Configuration Properties (security-libs/javax.crypto:pkcs11)
  • Configurable Extensions With System Properties (security-libs/javax.net.ssl)

Removed features and options

  • Removed Google's GlobalSign Root Certificate (security-libs/java.security)

Other notes

  • Zip File System Provider Throws ZipException When Entry Name Element Contains "." or ".." (core-libs/java.nio)
  • Update Timezone Data to 2021c (core-libs/java.time)
  • LDAP Channel Binding Support for Java GSS/Kerberos (core-libs/javax.naming)
  • SocketExceptions Are Not Wrapped Into SSLExceptions in SSLSocketImpl (security-libs/javax.net.ssl)
  • OperatingSystemMXBean.getProcessCpuLoad Is Now Container Aware (hotspot/runtime)

Bug fixes

  • 71 bug fixes{{Cite web|date=2022-01-18|title=JDK 11.0.14 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/11-0-14-bugfixes.html|website=oracle.com}}

Java SE 11.0.15{{Cite web|date=2022-04-19|title=JDK 11.0.15 Release Notes|url=https://www.oracle.com/java/technologies/javase/11-0-15-relnotes.html#R11_0_15|website=oracle.com}}

|2022-04-19

|New features

  • SunPKCS11 Provider Supports ChaCha20-Poly1305 Cipher and ChaCha20 KeyGenerator if Supported by PKCS11 Library (security-libs/javax.crypto:pkcs11)
  • ChaCha20 and Poly1305 TLS Cipher Suites (security-libs/javax.net.ssl)
  • New XML Processing Limits (xml/jaxp)

Other notes

  • Only Expose Certificates With Proper Trust Settings as Trusted Certificate Entries in macOS KeychainStore (security-libs/java.security)
  • Parsing of URL Strings in Built-in JNDI Providers Is More Strict (core-libs/javax.naming)

Bug fixes

  • 81 bug fixes{{Cite web|date=2022-04-19|title=JDK 11.0.15 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/11-0-15-bugfixes.html|website=oracle.com}}

Java SE 11.0.16{{Cite web|date=2022-07-19|title=JDK 11.0.16 Release Notes|url=https://www.oracle.com/java/technologies/javase/11-0-16-relnotes.html#R11_0_16|website=oracle.com}}

|2022-07-19

| New features

  • HTTPS Channel Binding Support for Java GSS/Kerberos (core-libs/java.net)

Other notes

  • Update java.net.InetAddress to Detect Ambiguous IPv4 Address Literals (core-libs/java.net)
  • JDK Bundle Extensions Truncated When Downloading Using Firefox 102 (core-libs/java.io:serialization)
  • Vector Should Throw ClassNotFoundException for a Missing Class of an Element (core-libs/java.io:serialization)
  • Default JDK Compressor Will Be Closed when IOException Is Encountered (core-libs/java.util.jar)

Bug fixes

  • 74 bug fixes{{Cite web|date=2022-07-19|title=JDK 11.0.16 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/11-0-16-bugfixes.html|website=oracle.com}}
Java SE 11.0.16.1{{Cite web|date=2022-08-18|title=JDK 11.0.16.1 Release Notes|url=https://www.oracle.com/java/technologies/javase/11-0-16-relnotes.html#R11_0_16_1|website=oracle.com}}

|2022-08-18

| Changes

  • C2 Compilation Errors Unpredictably Crashes JVM (hotspot/compiler)
Java SE 11.0.17{{Cite web|date=2022-10-19|title=JDK 11.0.17 Release Notes|url=https://www.oracle.com/java/technologies/javase/11-0-17-relnotes.html#R11_0_17|website=oracle.com}}

|2022-10-18

|New features

  • Upgrade the Default PKCS12 MAC Algorithm (security-libs/java.security)
  • JDK Flight Recorder Event for Deserialization (core-libs/java.io:serialization)

Other notes

  • Disabled SHA-1 Signed JARs (security-libs/java.security)
  • Deprecate 3DES and RC4 in Kerberos (security-libs/org.ietf.jgss:krb5)
  • Make HttpURLConnection Default Keep Alive Timeout Configurable (core-libs/java.net)
  • CPU Shares Ignored When Computing Active Processor Count (hotspot/runtime)
  • Update Timezone Data to 2022c (core-libs/java.time)
  • New System Property to Limit the Number of Open Connections to com.sun.net.httpserver.HttpServer (core-libs/java.net)

Bug fixes

  • 118 bug fixes{{Cite web|date=2022-10-19|title=JDK 11.0.17 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/11-0-17-bugfixes.html|website=oracle.com}}
Java SE 11.0.18{{Cite web|date=2023-01-17|title=JDK 11.0.18 Release Notes|url=https://www.oracle.com/java/technologies/javase/11-0-18-relnotes.html#R11_0_18|website=oracle.com}}

|2023-01-17

| New features

  • DTLS Resumption Uses HelloVerifyRequest Messages (security-libs/javax.net.ssl)
  • Support for RSASSA-PSS in OCSP Response (security-libs/java.security)

Known issues

  • Installation of Oracle Linux Specific x64 JDK RPMs Pulls in i686 Dependencies (install/install)

Other notes

  • FXML JavaScript Engine Disabled by Default (javafx/fxml)
  • Translated resource bundles for German (globalization)
  • RPM JDK Installer Changes (install/install)
  • Disable Side-by-Side Installations of Multiple JDK Updates in Windows JDK Installers (install/install)
  • All JDK Update Releases Are Installed Into the Same Directory on macOS (install/install)
  • Incorrect Handling of Quoted Arguments in ProcessBuilder (core-libs/java.lang)
  • New Implementation Note for LoginModule on Removing Null from a Principals or Credentials set (security-libs/javax.security)
  • Toolchain Upgrade to Visual Studio 2022 (infrastructure)
  • Change in SSLEngine.closeInbound() Behavior (security-libs/javax.net.ssl)

Bug fixes

  • 58 bug fixes{{Cite web|date=2023-01-17|title=JDK 11.0.18 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/11-0-18-relnotes.html#bugfixes-R11_0_18|website=oracle.com}}
Java SE 11.0.19{{Cite web|date=2023-04-18|title=JDK 11.0.19 Release Notes|url=https://www.oracle.com/java/technologies/javase/11-0-19-relnotes.html#R11_0_19|website=oracle.com}}

|2023-04-18

| New features

  • Added a Default Native GSS-API Library on Windows (security-libs/org.ietf.jgss)

Other notes

  • System Property to Handle HTML ObjectView Creation (client-libs/javax.swing)
  • Added Certigna(Dhimyotis) Root CA Certificate (security-libs/java.security)
  • Removed SSLv2Hello and SSLv3 From Default Enabled TLS Protocols (security-libs/javax.net.ssl)
  • File::listRoots Changed to Return All Available Drives on Windows (core-libs/java.io)
  • Crypto-J Exception for Diffie-Hellman and DSA AlgorithmParameters Requests (security-libs/java.security)

Bug fixes

  • 55 bug fixes{{Cite web|date=2023-04-18|title=JDK 11.0.19 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/11-0-19-relnotes.html#bugfixes-R11_0_19|website=oracle.com}}
Java SE 11.0.20{{Cite web|date=2023-07-18|title=JDK 11.0.20 Release Notes|url=https://www.oracle.com/java/technologies/javase/11-0-20-relnotes.html#R11_0_20|website=oracle.com}}

|2023-07-18

| New features

  • Allow Additional Characters for GB18030-2022 Support (core-libs/java.lang)
  • Support for GB18030-2022 (core-libs/java.nio.charsets)
  • Update the Javadoc in the Character Class to State Support for GB 18030-2022 Implementation Level 2 (core-libs/java.lang)
  • Windows KeyStore Updated to Include Access to the Local Machine Location (security-libs/java.security)
  • New JFR Event: jdk.InitialSecurityProperty (security-libs/java.security)
  • New JFR Event: jdk.SecurityProviderService (security-libs/java.security)
  • JDK Now Accepts RSA Keys in PKCS#1 Format (security-libs/javax.crypto)

Known issues

  • Problem Upgrading JDK on Windows if System User Is Using Shared Files (install)

Other notes

  • System Property to Turn off JDK-8251329 Restrictions (core-libs/java.nio)
  • Missing /usr/java/default Symlink on Linux Restored (install/install)
  • Installation of JDK RPM Corrupts Alternatives (install/install)
  • Added TWCA Root CA Certificate (security-libs/java.security)
  • Added 4 GTS Root CA Certificates (security-libs/java.security)
  • Added Microsoft Corporation's 2 TLS Root CA Certificates (security-libs/java.security)
  • System Property for Java SE Specification Maintenance Version (core-libs/java.lang)
  • GregorianCalender.computeTime() JVM Crash (hotspot/compiler)
  • ASLR Support for CDS Archive (hotspot/runtime)
  • Throw Error If Default java.security File Fails to Load (security-libs/java.security)
  • New System Property to Control the Maximum Size of Signature Files (security-libs/java.security)
  • Improved ZIP64 Extra Field Validation (core-libs/java.util.jar)

Bug fixes

  • 43 bug fixes{{Cite web|date=2023-07-18|title=JDK 11.0.20 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/11-0-20-relnotes.html#bugfixes-R11_0_20|website=oracle.com}}
Java SE 11.0.21{{Cite web|date=2023-10-17|title=JDK 11.0.21 Release Notes|url=https://www.oracle.com/java/technologies/javase/11-0-21-relnotes.html#R11_0_21|website=oracle.com}}

|2023-10-17

| New features

  • -XshowSettings:locale Output Now Includes Tzdata Version (tools/launcher)

Removed features and options

  • Removed SECOM Trust System's RootCA1 Root Certificate (security-libs/java.security)

Other notes

  • Added Certigna Root CA Certificate (security-libs/java.security)
  • Debian JDK Installer Changes (install/install)
  • Ignore Allow and Disallow Options for java.security.manager System Property (security-libs/java.security)
  • The Default TLS Diffie-Hellman Group Size Has Been Increased from 1024-bit to 2048-bit (security-libs/javax.net.ssl)
  • Use Server Cipher Suites Preference by Default (security-libs/javax.net.ssl)

Bug fixes

  • 29 bug fixes{{Cite web|date=2023-10-17|title=JDK 11.0.21 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/11-0-21-relnotes.html#bugfixes-R11_0_21|website=oracle.com}}
Java SE 11.0.22{{Cite web|date=2024-01-16|title=JDK 11.0.22 Release Notes|url=https://www.oracle.com/java/technologies/javase/11-0-22-relnotes.html#R11_0_22|website=oracle.com}}

|2024-01-16

| New features

  • New System Property to Toggle XML Signature Secure Validation Mode (security-libs/javax.xml.crypto)

Known issues

  • Potential Performance Regression Due to Limited Range Check Elimination (hotspot/compiler)

Other notes

  • Add Process-Memory Information to hs-err and VM.info (hotspot/runtime)
  • Increase Default Value of the System Property jdk.jar.maxSignatureFileSize (security-libs/java.security)
  • Added Four Root Certificates from DigiCert, Inc. (security-libs/java.security)
  • Added Three Root Certificates from eMudhra Technologies Limited (security-libs/java.security)
  • Added Telia Root CA v2 Certificate (security-libs/java.security)
  • Added ISRG Root X2 CA Certificate from Let's Encrypt (security-libs/java.security)
  • Call X509KeyManager.chooseClientAlias Once for All Key Types (security-libs/javax.net.ssl)
  • Add Process-Memory Information to hs-err and VM.info (hotspot/runtime)

Bug fixes

  • 29 bug fixes{{Cite web|date=2024-01-16|title=JDK 11.0.22 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/11-0-22-relnotes.html#bugfixes-R11_0_22|website=oracle.com}}

{{Anchor|Java 12}}

Java SE 12

{{Infobox Java version

| version name = Java SE 12

| released = {{Start date and age|2019|3|19|df=y|br=yes|paren=yes}}

| jeps = 8

| previews = Enhanced switch statements

| public_death = {{End date|2019|9}}

}}

JDK 12 was released on March 19, 2019. Among others, Java 12 includes a number of new features, such as:{{cite web|last=OpenJDK|title= 12|url=https://openjdk.java.net/projects/jdk/12/}}

  • {{Java JEP|189|Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)}}
  • {{Java JEP|230|Microbenchmark Suite}}
  • {{Java JEP|325|Switch Expressions (Preview)}}
  • {{Java JEP|334|JVM Constants API}}
  • {{Java JEP|340|One AArch64 Port, Not Two}}
  • {{Java JEP|341|Default CDS Archives}}
  • {{Java JEP|344|Abortable Mixed Collections for G1}}
  • {{Java JEP|346|Promptly Return Unused Committed Memory from G1}}

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 12 updates =

class="wikitable mw-collapsible mw-collapsed"

|+ class="nowrap" | Table of Java 12 updates

! width=170 | Release

! width=100 | Release date

! Highlights

Java SE 12{{cite web|url=https://www.oracle.com/java/technologies/javase/12-relnotes.html|title=JDK 12 Release Notes|publisher=oracle.com|date=2019-03-19}}

| 2019-03-19

| Initial release

Java SE 12.0.1{{cite web|url=https://www.oracle.com/java/technologies/javase/12-0-1-relnotes.html|title=JDK 12.0.1 Release Notes|publisher=oracle.com|date=2019-04-16}}

| 2019-04-16

| Known issues

  • Java Access Bridge Installation Workaround (install)

Changes

  • Added GlobalSign R6 Root Certificate (security-libs/java.security)
  • New Japanese Era Name Reiwa (core-libs/java.time)

Bug fixes

  • 3 bug fixes{{Cite web|date=2019-04-16|title=JDK 12.0.1 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/12-0-1-bugfixes.html|website=oracle.com}}

Java SE 12.0.2{{cite web|url=https://www.oracle.com/java/technologies/javase/12-0-2-relnotes.html|title=JDK 12.0.2 Release Notes|publisher=oracle.com|date=2019-07-16}}

| 2019-07-16

| Removed features and options

  • Removal of Two DocuSign Root CA Certificates (security-libs/java.security)
  • Removal of Two Comodo Root CA Certificates (security-libs/java.security)
  • Removal of T-Systems Deutsche Telekom Root CA 2 Certificate (security-libs/java.security)

Other notes

  • Java Access Bridge Installation Workaround (install)

{{Anchor|Java 13}}

Java SE 13

{{Infobox Java version

| version name = Java SE 13

| released = {{Start date and age|2019|9|17|df=y|br=yes|paren=yes}}

| jeps = 5

| previews = Enhanced switch statements, text blocks

| public_death = {{End date|2023|3}}{{Cite web |title=Azul Support Roadmap |url=https://www.azul.com/products/azul-support-roadmap/ |access-date=2023-06-28 |website=Azul {{!}} Better Java Performance, Superior Java Support |language=en-US}}

}}

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".{{Cite web|url=https://mail.openjdk.java.net/pipermail/announce/2019-September/000274.html|title=Java 13 / JDK 13: General Availability|first=mark reinhold at|last=oracle.com|date=September 17, 2019}}

  • {{Java JEP|350|Dynamic CDS Archives}}
  • {{Java JEP|351|ZGC: Uncommit Unused Memory}}
  • {{Java JEP|353|Reimplement the Legacy Socket API}}
  • {{Java JEP|354|Switch Expressions (Preview)}}
  • {{Java JEP|355|Text Blocks (Preview)}}

JEP 355 Text Blocks allows multiline string literals:

String html = """

Hello, world

""";

= Java 13 updates =

class="wikitable mw-collapsible mw-collapsed"

|+ class="nowrap" | Table of Java 13 updates

! width=170 | Release

! width=100 | Release date

! Highlights

Java SE 13{{cite web|url=https://www.oracle.com/java/technologies/javase/13-relnotes.html|title=JDK 13 Release Notes|publisher=oracle.com|date=2019-09-17}}

| 2019-09-17

| Initial release

Java SE 13.0.1{{cite web|url=https://www.oracle.com/java/technologies/javase/13-0-1-relnotes.html|title=JDK 13.0.1 Release Notes|publisher=oracle.com|date=2019-10-15}}

| 2019-10-15

| Other notes

  • Using the JDK or JRE on macOS Catalina (10.15) (docs)
  • Remove Obsolete NIST EC Curves from the Default TLS Algorithms (security-libs/javax.net.ssl)
  • Text Visibility Issues in macOS Dark Mode (client-libs)
  • Runtime.exec and ProcessBuilder Argument Restrictions (core-libs/java.lang)
Java SE 13.0.2{{cite web|url=https://www.oracle.com/java/technologies/javase/13-0-2-relnotes.html|title=JDK 13.0.2 Release Notes|publisher=oracle.com|date=2020-01-14}}

| 2020-01-14

| Other notes

  • New Checks on Trust Anchor Certificates (security-libs/java.security)
  • Exact Match Required for Trusted TLS Server Certificate (security-libs/java.security)
  • Added LuxTrust Global Root 2 Certificate (security-libs/java.security)
  • Added 4 Amazon Root CA Certificates (security-libs/java.security)
  • Improve Registry Support (core-libs/java.rmi)

Bug fixes

  • Better Serial Filter Handling (core-libs/java.io:serialization)
  • 29 bug fixes{{Cite web|date=2020-01-14|title=JDK 13.0.2 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/13-0-2-bugfixes.html|website=oracle.com}}

{{Anchor|Java 14}}

Java SE 14

{{Infobox Java version

| version name = Java SE 14

| released = {{Start date and age|2020|3|17|df=y|br=yes|paren=yes}}

| jeps = 16

| features = Helpful NullPointerExceptions, enhanced switch statements

| removed = Remove Concurrent Mark Sweep garbage collector

| previews = Pattern matching for instanceof, records, text blocks

| incubating = jpackager, Foreign memory access

| public_death = {{End date|2020|9}}

}}

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".{{Cite web|url=https://mail.openjdk.java.net/pipermail/announce/2020-March/000282.html|title=Java 14 / JDK 14: General Availability|first=mark reinhold at|last=oracle.com|date=March 17, 2020}}

  • {{Java JEP|305|Pattern Matching for instanceof (Preview)}}
  • {{Java JEP|343|Packaging Tool (Incubator)}}
  • {{Java JEP|345|NUMA-Aware Memory Allocation for G1}}
  • {{Java JEP|349|JFR Event Streaming}}
  • {{Java JEP|352|Non-Volatile Mapped Byte Buffers}}
  • {{Java JEP|358|Helpful NullPointerExceptions}}
  • {{Java JEP|359|Records (Preview)}}
  • {{Java JEP|361|Switch Expressions (Standard)}}
  • {{Java JEP|362|Deprecate the Solaris and SPARC Ports}}
  • {{Java JEP|363|Remove the Concurrent Mark Sweep (CMS) Garbage Collector}}
  • {{Java JEP|364|ZGC on macOS}}
  • {{Java JEP|365|ZGC on Windows}}
  • {{Java JEP|366|Deprecate the ParallelScavenge + SerialOld GC Combination}}
  • {{Java JEP|367|Remove the Pack200 Tools and API}}
  • {{Java JEP|368|Text Blocks (Second Preview)}}
  • {{Java JEP|370|Foreign-Memory Access API (Incubator)}}

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.{{cite news |last=Evans |first=Ben |title=Records Come to Java |url=https://blogs.oracle.com/javamagazine/records-come-to-java |website=Java Magazine |publisher=Oracle |access-date=10 July 2021 |date=January 10, 2020}}

record Point(int x, int y) { }

Point p = new Point(3, 4);

System.out.println(p.x());

= Java 14 updates =

class="wikitable mw-collapsible mw-collapsed"

|+ class="nowrap" | Table of Java 14 updates

! width=170 | Release

! width=100 | Release date

! Highlights

Java SE 14{{cite web|url=https://www.oracle.com/java/technologies/javase/14-relnotes.html|title=JDK 14 Release Notes|publisher=oracle.com|date=2020-03-17}}

| 2020-03-17

| Initial release

Java SE 14.0.1{{cite web|url=https://www.oracle.com/java/technologies/javase/14-0-1-relnotes.html|title=JDK 14.0.1 Release Notes|publisher=oracle.com|date=2020-04-14}}

| 2020-04-14

| Bug fixes

  • 2 bug fixes{{Cite web|date=2020-04-14|title=JDK 14.0.1 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/14-0-1-bugfixes.html|website=oracle.com}}

Java SE 14.0.2{{cite web|url=https://www.oracle.com/java/technologies/javase/14-0-2-relnotes.html|title=JDK 14.0.2 Release Notes|publisher=oracle.com|date=2020-07-14}}

| 2020-07-14

| Removed features and options

  • Removal of Comodo Root CA Certificate (security-libs/java.security)
  • Removal of DocuSign Root CA Certificate (security-libs/java.security)

Other notes

  • Better Listing of Arrays (core-libs/java.util:collections)
  • Default SSLEngine Should Create in Server Role (security-libs/javax.net.ssl)
  • Improved Serialization Handling (core-libs/java.io:serialization)

Bug fixes

  • 8 bug fixes{{Cite web|date=2020-07-14|title=JDK 14.0.2 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/14-0-2-bugfixes.html|website=oracle.com}}

{{Anchor|Java 15}}

Java SE 15

{{Infobox Java version

| version name = Java SE 15

| released = {{Start date and age|2020|9|15|df=y|br=yes|paren=yes}}

| jeps = 14

| features = Hidden classes, ZGC (garbage collector), Shenandoah (garbage collector), text blocks

| removed = JavaScript engine, Solaris and SPARC ports

| previews = Sealed classes, pattern matching of instanceof, records

| incubating = Foreign-memory access

| public_death = {{End date|2023|3}}

}}

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.

  • {{Java JEP|339|Edwards-Curve Digital Signature Algorithm (EdDSA)}}
  • {{Java JEP|360|Sealed Classes (Preview)}}
  • {{Java JEP|371|Hidden Classes}}
  • {{Java JEP|372|Remove the Nashorn JavaScript Engine}}
  • {{Java JEP|373|Reimplement the Legacy DatagramSocket API}}
  • {{Java JEP|374|Disable and Deprecate Biased Locking}}
  • {{Java JEP|375|Pattern Matching for instanceof (Second Preview)}}
  • {{Java JEP|377|ZGC: A Scalable Low-Latency Garbage Collector}}
  • {{Java JEP|378|Text Blocks}}
  • {{Java JEP|379|Shenandoah: A Low-Pause-Time Garbage Collector}}
  • {{Java JEP|381|Remove the Solaris and SPARC Ports}}
  • {{Java JEP|383|Foreign-Memory Access API (Second Incubator)}}
  • {{Java JEP|384|Records (Second Preview)}}
  • {{Java JEP|385|Deprecate RMI Activation for Removal}}

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.{{cite web|access-date=2024-06-18|url=https://openjdk.org/projects/amber/design-notes/patterns/pattern-matching-for-java|title=Pattern Matching for Java|author1=Gavin Bierman|author2=Brian Goetz|date=September 2018|website=openjdk.org}}

= Java 15 updates =

class="wikitable mw-collapsible mw-collapsed"

|+ class="nowrap" | Table of Java 15 updates

! width=170 | Release

! width=100 | Release date

! Highlights

Java SE 15{{cite web|url=https://www.oracle.com/java/technologies/javase/15-relnotes.html|title=JDK 15 Release Notes|publisher=oracle.com|date=2020-09-15}}

| 2020-09-15

| Initial release

Java SE 15.0.1{{cite web|url=https://www.oracle.com/java/technologies/javase/15-0-1-relnotes.html|title=JDK 15.0.1 Release Notes|publisher=oracle.com|date=2020-10-20}}

| 2020-10-20

| New features

  • Improve Certificate Chain Handling (security-libs/javax.net.ssl)

Other notes

  • Added Property to Control LDAP Authentication Mechanisms Allowed to Authenticate Over Clear Connections (core-libs/javax.naming)
  • Added 3 SSL Corporation Root CA Certificates (security-libs/java.security)
  • Added Entrust Root Certification Authority – G4 certificate (security-libs/java.security)
  • Enhanced Support of Proxy Class (core-libs/java.io:serialization)

Bug fixes

  • 8 bug fixes{{Cite web|date=2020-10-20|title=JDK 15.0.1 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/15-0-1-bugfixes.html|website=oracle.com}}

Java SE 15.0.2{{cite web|url=https://www.oracle.com/java/technologies/javase/15-0-2-relnotes.html|title=JDK 15.0.2 Release Notes|publisher=oracle.com|date=2021-01-19}}

| 2021-01-19

|Other notes

  • JDK time-zone data upgraded to tzdata2020d (core-libs/java.time)
  • JDK time-zone data upgraded to tzdata2020c (core-libs/java.time)
  • US/Pacific-New Zone Name Removed as Part of tzdata2020b (core-libs/java.time)

Bug fixes

  • 24 bug fixes{{Cite web|date=2021-01-19|title=JDK 15.0.2 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/15-0-2-bugfixes.html|website=oracle.com}}

{{Anchor|Java 16}}

Java SE 16

{{Infobox Java version

| version name = Java SE 16

| released = {{Start date and age|2021|3|16|df=y|br=yes|paren=yes}}

| jeps = 17

| features = Windows/AArch64 Port, jpackager, pattern matching for instanceof, records

| previews = Sealed classes

| incubating = Foreign linker, Foreign-memory access

| public_death = {{End date|2021|9}}

}}

JDK 16 was released on March 16, 2021. Java 16 removes Ahead-of-Time compilation (and Graal JIT) options.{{Cite web|title=[JDK-8255616] Removal of experimental features AOT and Graal JIT – Java Bug System|url=https://bugs.openjdk.java.net/browse/JDK-8255616|access-date=2021-02-19|website=bugs.openjdk.java.net}} 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 JEP|338|Vector API (Incubator)}}
  • {{Java JEP|347|Enable C++14 Language Features}}
  • {{Java JEP|357|Migrate from Mercurial to Git}}
  • {{Java JEP|369|Migrate to GitHub}}
  • {{Java JEP|376|ZGC: Concurrent Thread-Stack Processing}}
  • {{Java JEP|380|Unix-Domain Socket Channels}}
  • {{Java JEP|386|Alpine Linux Port}}{{snd}} not yet stable
  • {{Java JEP|387|Elastic Metaspace}}
  • {{Java JEP|388|Windows/AArch64 Port}}
  • {{Java JEP|389|Foreign Linker API (Incubator)}}
  • {{Java JEP|390|Warnings for Value-Based Classes}}
  • {{Java JEP|392|Packaging Tool}}
  • {{Java JEP|393|Foreign-Memory Access API (Third Incubator)}}
  • {{Java JEP|394|Pattern Matching for instanceof}}
  • {{Java JEP|395|Records}}
  • {{Java JEP|396|Strongly Encapsulate JDK Internals by Default}}
  • {{Java JEP|397|Sealed Classes (Second Preview)}}

= Java 16 updates =

class="wikitable mw-collapsible mw-collapsed"

|+ class="nowrap" | Table of Java 16 updates

! width=170 | Release

! width=100 | Release date

! Highlights

Java SE 16{{cite web|url=https://www.oracle.com/java/technologies/javase/16-relnotes.html|title=JDK 16 Release Notes|publisher=oracle.com|date=2021-03-16}}

| 2021-03-16

| Initial release

Java SE 16.0.1{{cite web|url=https://www.oracle.com/java/technologies/javase/16-0-1-relnotes.html|title=JDK 16.0.1 Release Notes|publisher=oracle.com|date=2021-04-20}}

| 2021-04-20

| Other notes

  • New System and Security Properties to Control Reconstruction of Remote Objects by JDK's Built-in JNDI RMI and LDAP Implementations (core-libs/javax.naming)
  • Added 2 HARICA Root CA Certificates (security-libs/java.security)
  • Less Ambiguous Processing of ProcessBuilder Quotes on Windows (core-libs/java.lang)

Bug fixes

  • 30 bug fixes{{Cite web|date=2021-04-20|title=JDK 16.0.1 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/16-0-1-bugfixes.html|website=oracle.com}}

Java SE 16.0.2{{cite web|url=https://www.oracle.com/java/technologies/javase/16-0-2-relnotes.html|title=JDK 16.0.2 Release Notes|publisher=oracle.com|date=2021-07-20}}

| 2021-07-20

| Removed features and options

  • Removed Telia Company's Sonera Class2 CA certificate (security-libs/java.security)

Other notes

  • Updated List of Capabilities Provided by JDK RPMs (install/install)
  • Change to Package Names in Linux RPM/DEB Installers (install/install)
  • URL FTP Protocol Handler: IPv4 Address Validation in Passive Mode (core-libs/java.net)
  • SocketExceptions Are Not Wrapped Into SSLExceptions in SSLSocketImpl (security-libs/javax.net.ssl)
  • Disable SHA-1 JARs (security-libs/java.security)

Bug fixes

  • 25 bug fixes{{Cite web|date=2021-07-20|title=JDK 16.0.2 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/16-0-2-bugfixes.html|website=oracle.com}}

{{Anchor|Java 17}}

Java SE 17 (LTS)

{{Infobox Java version

| version name = Java SE 17

| lts = yes

| released = {{Start date and age|2021|9|14|df=y|br=yes|paren=yes}}

| jeps = 14

| features = macOS/AArch64 Port, sealed classes

| removed = AOT compiler, RMI activation, strictfp keyword made obsolete (JEP 306)

| previews = Switch pattern matching

| incubating = Vector API, Foreign function & memory API

}}

JDK 17 was released in September 2021.{{Cite web|title=JDK 17|url=https://openjdk.java.net/projects/jdk/17/|access-date=2021-09-17|website=openjdk.java.net}} Java 17 is the 2nd long-term support (LTS) release since switching to the new 6-month release cadence (the first being Java 11).

  • {{Java JEP|306|Restore Always-Strict Floating-Point Semantics}}
  • {{Java JEP|356|Enhanced Pseudo-Random Number Generators}}
  • {{Java JEP|382|New macOS Rendering Pipeline}}
  • {{Java JEP|391|macOS/AArch64 Port}}
  • {{Java JEP|398|Deprecate the Applet API for Removal}}
  • {{Java JEP|403|Strongly Encapsulate JDK Internals}}
  • {{Java JEP|406|Pattern Matching for switch (Preview)}}
  • {{Java JEP|407|Remove RMI Activation}}
  • {{Java JEP|409|Sealed Classes}}
  • {{Java JEP|410|Remove the Experimental AOT and JIT Compiler}}
  • {{Java JEP|411|Deprecate the Security Manager for Removal}}
  • {{Java JEP|412|Foreign Function & Memory API (Incubator)}}
  • {{Java JEP|414|Vector API (Second Incubator)}}
  • {{Java JEP|415|Context-Specific Deserialization Filters}}

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 %s".formatted(s);

case Long l -> "long %d".formatted(l);

case Double d -> "double %f".formatted(d);

case Integer i && i > 0 // refining patterns

-> "positive int %d".formatted(i);

case Integer i && i == 0

-> "zero int %d".formatted(i);

case Integer i && i < 0

-> "negative int %d".formatted(i);

default -> o.toString();

};

= Java 17 updates =

class="wikitable mw-collapsible mw-collapsed"

|+ class="nowrap" | Table of Java 17 updates

! width=170 | Release

! width=100 | Release date

! Highlights

Java SE 17{{cite web|url=https://www.oracle.com/java/technologies/javase/17-relnotes.html|title=JDK 17 Release Notes|publisher=oracle.com|date=2021-09-14}}

| 2021-09-14

| Initial release

Java SE 17.0.1{{cite web|url=https://www.oracle.com/java/technologies/javase/17-0-1-relnotes.html|title=JDK 17.0.1 Release Notes|publisher=oracle.com|date=2021-10-19}}

| 2021-10-19

| Removed features and options

  • Removed IdenTrust Root Certificate (security-libs/java.security)

Other notes

  • Release Doesn't Correctly Recognize Windows 11 (core-libs/java.lang)
  • System Property to Control Reconstruction of Reference Address Objects by JDK's Built-in JNDI LDAP Implementation (core-libs/javax.naming)
  • Release Doesn't Correctly Recognize Windows Server 2022 (hotspot/runtime)
  • OperatingSystemMXBean.getProcessCpuLoad Is Now Container Aware (hotspot/runtime)

Bug fixes

  • 21 bug fixes{{Cite web|date=2021-10-19|title=JDK 17.0.1 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/17-0-1-relnotes.html#bugfixes-R17_0_1|website=oracle.com}}
Java SE 17.0.2{{cite web|url=https://www.oracle.com/java/technologies/javase/17-0-2-relnotes.html|title=JDK 17.0.2 Release Notes|publisher=oracle.com|date=2022-01-18}}

| 2022-01-18

| Removed features and options

  • Removed Google's GlobalSign Root Certificate (security-libs/java.security)

Other notes

  • Extended Delay Before JDK Executable Installer Starts From Network Drive (install/install)
  • file.encoding System Property Has an Incorrect Value on Windows (core-libs/java.io)
  • Zip File System Provider Throws ZipException When Entry Name Element Contains "." or ".." (core-libs/java.nio)
  • Update Timezone Data to 2021c (core-libs/java.time)
  • ZGC: Fixed long Process Non-Strong References times (hotspot/gc)

Bug fixes

  • 164 bug fixes{{Cite web|date=2022-01-18|title=JDK 17.0.2 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/17-0-2-relnotes.html#bugfixes-R17_0_2|website=oracle.com}}
Java SE 17.0.3{{cite web|url=https://www.oracle.com/java/technologies/javase/17-0-3-relnotes.html#R17_0_3|title=JDK 17.0.3 Release Notes|publisher=oracle.com|date=2022-04-19}}

| 2022-04-19

| New features

  • New XML Processing Limits (xml/jaxp)

Other notes

  • Only Expose Certificates With Proper Trust Settings as Trusted Certificate Entries in macOS KeychainStore (security-libs/java.security)
  • Parsing of URL Strings in Built-in JNDI Providers Is More Strict (core-libs/javax.naming)

Bug fixes

  • 48 bug fixes{{Cite web|date=2022-04-19|title=JDK 17.0.3 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/17-0-3-relnotes.html#bugfixes-R17_0_3|website=oracle.com}}
Java SE 17.0.3.1{{cite web|url=https://www.oracle.com/java/technologies/javase/17-0-3-relnotes.html#R17_0_3_1|title=JDK 17.0.3.1 Release Notes|publisher=oracle.com|date=2022-05-02}}

| 2022-05-02

| Changes

  • New System Property to Disable Windows Alternate Data Stream Support in java.io.File (core-libs/java.io)

Bug fixes

  • 2 bug fixes{{Cite web|date=2022-05-02|title=JDK 17.0.3.1 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/17-0-3-1-relnotes.html#bugfixes-R17_0_3_1|website=oracle.com}}
Java SE 17.0.4{{cite web|url=https://www.oracle.com/java/technologies/javase/17-0-4-relnotes.html#R17_0_4|title=JDK 17.0.4 Release Notes|publisher=oracle.com|date=2022-07-19}}

| 2022-07-19

| New features

  • HTTPS Channel Binding Support for Java GSS/Kerberos (core-libs/java.net)

Other notes

  • Update java.net.InetAddress to Detect Ambiguous IPv4 Address Literals (core-libs/java.net)
  • Default JDK Compressor Will Be Closed when IOException Is Encountered (core-libs/java.util.jar)
  • CPU Shares Ignored When Computing Active Processor Count (hotspot/runtime)

Bug fixes

  • 60 bug fixes{{Cite web|date=2022-07-19|title=JDK 17.0.4 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/17-0-4-relnotes.html#bugfixes-R17_0_4|website=oracle.com}}
Java SE 17.0.4.1{{cite web|url=https://www.oracle.com/java/technologies/javase/17-0-4-relnotes.html#R17_0_4_1|title=JDK 17.0.4.1 Release Notes|publisher=oracle.com|date=2022-08-18}}

| 2022-08-18

| Changes

  • C2 Compilation Errors Unpredictably Crashes JVM (hotspot/compiler)
Java SE 17.0.5{{cite web|url=https://www.oracle.com/java/technologies/javase/17-0-5-relnotes.html#R17_0_5|title=JDK 17.0.5 Release Notes|publisher=oracle.com|date=2022-10-18}}

| 2022-10-18

| New features

  • HTTPS Channel Binding Support for Java GSS/Kerberos (core-libs/java.net)

Other notes

  • Update java.net.InetAddress to Detect Ambiguous IPv4 Address Literals (core-libs/java.net)
  • Default JDK Compressor Will Be Closed when IOException Is Encountered (core-libs/java.util.jar)
  • CPU Shares Ignored When Computing Active Processor Count (hotspot/runtime)

Bug fixes

  • 77 bug fixes{{Cite web|date=2022-10-18|title=JDK 17.0.5 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/17-0-5-relnotes.html#bugfixes-R17_0_5|website=oracle.com}}
Java SE 17.0.6{{cite web|url=https://www.oracle.com/java/technologies/javase/17-0-6-relnotes.html#R17_0_6|title=JDK 17.0.6 Release Notes|publisher=oracle.com|date=2023-01-17}}

| 2023-01-17

| New features

  • DTLS Resumption Uses HelloVerifyRequest Messages (security-libs/javax.net.ssl)
  • Support for RSASSA-PSS in OCSP Response (security-libs/java.security)

Known issues

  • Installation of Oracle Linux Specific x64 JDK RPMs Pulls in i686 Dependencies (install/install)

Other notes

  • FXML JavaScript Engine Disabled by Default (javafx/fxml)
  • Translated resource bundles for German (globalization)
  • RPM JDK Installer Changes (install/install)
  • Disable Side-by-Side Installations of Multiple JDK Updates in Windows JDK Installers (install/install)
  • All JDK Update Releases Are Installed Into the Same Directory on macOS (install/install)
  • Incorrect Handling of Quoted Arguments in ProcessBuilder (core-libs/java.lang)
  • New Implementation Note for LoginModule on Removing Null from a Principals or Credentials set (security-libs/javax.security)
  • Toolchain Upgrade to Visual Studio 2022 (infrastructure)
  • Change in SSLEngine.closeInbound() Behavior (security-libs/javax.net.ssl)

Bug fixes

  • 52 bug fixes{{Cite web|date=2023-01-17|title=JDK 17.0.6 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/17-0-6-relnotes.html#bugfixes-R17_0_6|website=oracle.com}}
Java SE 17.0.7{{cite web|url=https://www.oracle.com/java/technologies/javase/17-0-7-relnotes.html#R17_0_7|title=JDK 17.0.7 Release Notes|publisher=oracle.com|date=2023-04-18}}

| 2023-04-18

| New features

  • New JFR Event: jdk.InitialSecurityProperty (security-libs/java.security)

Other notes

  • System Property to Handle HTML ObjectView Creation (client-libs/javax.swing)
  • Added Certigna(Dhimyotis) CA Certificate (security-libs/java.security)
  • File::listRoots Changed to Return All Available Drives on Windows (core-libs/java.io)
  • Throw Error If Default java.security File Fails to Load (security-libs/java.security)
  • Crypto-J Exception for Diffie-Hellman and DSA AlgorithmParameters Requests (security-libs/java.security)

Bug fixes

  • 69 bug fixes{{Cite web|date=2023-04-18|title=JDK 17.0.7 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/17-0-7-relnotes.html#bugfixes-R17_0_7|website=oracle.com}}
Java SE 17.0.8{{cite web|url=https://www.oracle.com/java/technologies/javase/17-0-8-relnotes.html#R17_0_8|title=JDK 17.0.8 Release Notes|publisher=oracle.com|date=2023-07-18}}

| 2023-07-18

| New features

  • Support for GB18030-2022 (core-libs/java.nio.charsets)
  • Windows KeyStore Updated to Include Access to the Local Machine Location (security-libs/java.security)
  • New JFR Event: jdk.SecurityProviderService (security-libs/java.security)

Known issues

  • Problem Upgrading JDK on Windows if System User Is Using Shared Files (install)

Other notes

  • System Property to Turn off JDK-8251329 Restrictions (core-libs/java.nio)
  • Debian JDK Installer Changes (install/install)
  • Missing /usr/java/default Symlink on Linux Restored (install/install)
  • Installation of JDK RPM Corrupts Alternatives (install/install)
  • Added TWCA Root CA Certificate (security-libs/java.security)
  • Added 4 GTS Root CA Certificates (security-libs/java.security)
  • Added Microsoft Corporation's 2 TLS Root CA Certificates (security-libs/java.security)
  • GregorianCalender.computeTime() JVM Crash (hotspot/compiler)
  • ASLR Support for CDS Archive (hotspot/runtime)
  • New System Property to Control the Maximum Size of Signature Files (security-libs/java.security)
  • Improved ZIP64 Extra Field Validation (core-libs/java.util.jar)

Bug fixes

  • 56 bug fixes{{Cite web|date=2023-07-18|title=JDK 17.0.8 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/17-0-8-relnotes.html#bugfixes-R17_0_8|website=oracle.com}}
Java SE 17.0.9{{cite web|url=https://www.oracle.com/java/technologies/javase/17-0-9-relnotes.html#R17_0_9|title=JDK 17.0.9 Release Notes|publisher=oracle.com|date=2023-10-17}}

| 2023-10-17

| New features

  • -XshowSettings:locale Output Now Includes Tzdata Version (tools/launcher)

Removed features and options

  • Removed SECOM Trust System's RootCA1 Root Certificate (security-libs/java.security)

Other notes

  • Added Certigna Root CA Certificate (security-libs/java.security)
  • The Default TLS Diffie-Hellman Group Size Has Been Increased from 1024-bit to 2048-bit (security-libs/javax.net.ssl)

Bug fixes

  • 56 bug fixes{{Cite web|date=2023-10-17|title=JDK 17.0.9 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/17-0-9-relnotes.html#bugfixes-R17_0_9|website=oracle.com}}
Java SE 17.0.10{{Cite web|date=2024-01-16|title=JDK 17.0.10 Release Notes|url=https://www.oracle.com/java/technologies/javase/17-0-10-relnotes.html#R17_0_10|website=oracle.com}}

|2024-01-16

| New features

  • New System Property to Toggle XML Signature Secure Validation Mode (security-libs/javax.xml.crypto)

Known issues

  • Potential Performance Regression Due to Limited Range Check Elimination (hotspot/compiler)

Other notes

  • Increase Default Value of the System Property jdk.jar.maxSignatureFileSize (security-libs/java.security)
  • Added Four Root Certificates from DigiCert, Inc. (security-libs/java.security)
  • Added Three Root Certificates from eMudhra Technologies Limited (security-libs/java.security)
  • Added Telia Root CA v2 Certificate (security-libs/java.security)
  • Added ISRG Root X2 CA Certificate from Let's Encrypt (security-libs/java.security)
  • Call X509KeyManager.chooseClientAlias Once for All Key Types (security-libs/javax.net.ssl)

Bug fixes

  • 46 bug fixes{{Cite web|date=2024-01-16|title=JDK 17.0.10 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/17-0-10-relnotes.html#bugfixes-R17_0_10|website=oracle.com}}
Java SE 17.0.11{{cite web|url=https://www.oracle.com/java/technologies/javase/17-0-11-relnotes.html|title=JDK 17.0.11 Release Notes|publisher=oracle.com|date=2024-04-16}}

| 2024-04-16

|

Java SE 17.0.12{{cite web|url=https://www.oracle.com/java/technologies/javase/17-0-12-relnotes.html|title=JDK 17.0.12 Release Notes|publisher=oracle.com|date=2024-07-16}}

| 2024-07-16

|

Java SE 17.0.13{{cite web|url=https://www.oracle.com/java/technologies/javase/17-0-13-relnotes.html|title=JDK 17.0.13 Release Notes|publisher=oracle.com|date=2024-10-15}}

| 2024-10-15

|

Java SE 17.0.14{{cite web|url=https://www.oracle.com/java/technologies/javase/17-0-14-relnotes.html|title=JDK 17.0.14 Release Notes|publisher=oracle.com|date=2025-01-21}}

| 2025-01-21

|

Java SE 17.0.15{{cite web|url=https://www.oracle.com/java/technologies/javase/17-0-15-relnotes.html|title=JDK 17.0.15 Release Notes|publisher=oracle.com|date=2025-04-15}}

| 2025-04-15

|

{{Anchor|Java 18}}

Java SE 18

{{Infobox Java version

| version name = Java SE 18

| released = {{Start date and age|2022|3|22|df=y|br=yes|paren=yes}}

| jeps = 9

| features = {{ubl|UTF by default|Javadoc code snippets}}

| removed = Deprecated finalization for removal

| previews = Switch pattern matching

| incubating = {{ubl|Vector API|Foreign function & memory API}}

| public_death = {{End date|2022|9}}

}}

JDK 18 was released on March 22, 2022.{{Cite web |title=JDK 18 |url=https://openjdk.org/projects/jdk/18/ |access-date=28 June 2023 |website=openjdk.org}}

  • {{Java JEP|400|UTF-8 by Default}}
  • {{Java JEP|408|Simple Web Server}}
  • {{Java JEP|413|Code Snippets in Java API Documentation}}
  • {{Java JEP|416|Reimplement Core Reflection with Method Handles}}
  • {{Java JEP|417|Vector API (Third Incubator)}}
  • {{Java JEP|418|Internet-Address Resolution SPI}}
  • {{Java JEP|419|Foreign Function & Memory API (Second Incubator)}}
  • {{Java JEP|420|Pattern Matching for switch (Second Preview)}}
  • {{Java JEP|421|Deprecate Finalization for Removal}}

= Java 18 updates =

class="wikitable mw-collapsible mw-collapsed"

|+ class="nowrap" | Table of Java 18 updates

! width=170 | Release

! width=100 | Release date

! Highlights

Java SE 18{{cite web|url=https://www.oracle.com/java/technologies/javase/18-relnotes.html|title=JDK 18 Release Notes|publisher=oracle.com|date=2022-03-22}}

| 2022-03-22

| Initial release

Java SE 18.0.1{{cite web|url=https://www.oracle.com/java/technologies/javase/18-0-1-relnotes.html#R18_0_1|title=JDK 18.0.1 Release Notes|publisher=oracle.com|date=2022-04-19}}

| 2022-04-19

| New features

  • New XML Processing Limits (xml/jaxp)

Other notes

  • Only Expose Certificates With Proper Trust Settings as Trusted Certificate Entries in macOS KeychainStore (security-libs/java.security)
  • Parsing of URL Strings in Built-in JNDI Providers Is More Strict (core-libs/javax.naming)

Bug fixes

  • 18 bug fixes{{Cite web|date=2022-04-19|title=JDK 18.0.1 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/18-0-1-bugfixes.html|website=oracle.com}}

Java SE 18.0.1.1{{cite web|url=https://www.oracle.com/java/technologies/javase/18-0-1-relnotes.html#R18_0_1_1|title=JDK 18.0.1.1 Release Notes|publisher=oracle.com|date=2022-05-02}}

| 2022-05-02

| core-libs/java.io

  • New System Property to Disable Windows Alternate Data Stream Support in java.io.File (core-libs/java.io)

Bug fixes

  • 2 bug fixes{{Cite web|date=2022-05-02|title=JDK 18.0.1.1 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/18-0-1-1-relnotes.html#bugfixes-R18_0_1_1|website=oracle.com}}

Java SE 18.0.2{{cite web|url=https://www.oracle.com/java/technologies/javase/18-0-2-relnotes.html#R18_0_2|title=JDK 18.0.2 Release Notes|publisher=oracle.com|date=2022-07-19}}

| 2022-07-19

| Removed features and options

  • Remove the Alternate ThreadLocal Implementation of the Subject::current and Subject::callAs APIs (security-libs/javax.security)

Other notes

  • java.net.InetAddress Updated to Reject Ambiguous IPv4 Address Literals (core-libs/java.net)
  • CPU Shares Ignored When Computing Active Processor Count (hotspot/runtime)
  • Lambda Deserialization Fails for Object Method References on Interfaces (tools/javac)

Bug fixes

  • 49 bug fixes{{Cite web|date=2022-07-19|title=JDK 18.0.2 Bug Fixes

|url=https://www.oracle.com/java/technologies/javase/18-0-2-relnotes.html#bugfixes-R18_0_2|website=oracle.com}}

Java SE 18.0.2.1{{cite web|url=https://www.oracle.com/java/technologies/javase/18-0-2-relnotes.html#R18_0_2_1|title=JDK 18.0.2.1 Release Notes|publisher=oracle.com|date=2022-08-18}}

| 2022-08-18

| Changes

  • C2 Compilation Errors Unpredictably Crashes JVM (hotspot/compiler)

{{Anchor|Java 19}}

Java SE 19

{{Infobox Java version

| version name = Java SE 19

| released = {{Start date and age|2022|9|20|df=y|br=yes|paren=yes}}

| jeps = 7

| previews = {{ubl|Foreign function & memory API|Switch pattern matching}}

| incubating = {{ubl|Vector API|Structured concurrency}}

| lts = no

| public_death = {{End date|2023|3}}

}}

JDK 19 was released on 20 September 2022.{{Cite web |title=JDK 19 |url=https://openjdk.org/projects/jdk/19/ |access-date=2022-09-19 |website=openjdk.org}}

  • {{Java JEP|405|Record Patterns (Preview)}}
  • {{Java JEP|422|Linux/RISC-V Port}}
  • {{Java JEP|424|Foreign Function & Memory API (Preview)}}
  • {{Java JEP|425|Virtual Threads (Preview)}}
  • {{Java JEP|426|Vector API (Fourth Incubator)}}
  • {{Java JEP|427|Pattern Matching for switch (Third Preview)}}
  • {{Java JEP|428|Structured Concurrency (Incubator)}}

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 19 updates =

class="wikitable mw-collapsible mw-collapsed"

|+ class="nowrap" | Table of Java 19 updates

! width=170 | Release

! width=100 | Release date

! Highlights

Java SE 19{{cite web|url=https://www.oracle.com/java/technologies/javase/19-relnote-issues.html|title=JDK 19 Release Notes|publisher=oracle.com|date=2022-09-20}}

| 2022-09-20

| Initial release

Java SE 19.0.1{{cite web|url=https://www.oracle.com/java/technologies/javase/19-0-1-relnotes.html|title=JDK 19.0.1 Release Notes|publisher=oracle.com|date=2022-10-18}}

| 2022-10-18

| Other notes

  • Update Timezone Data to 2022c (core-libs/java.time)
  • New System Property to Limit the Number of Open Connections to com.sun.net.httpserver.HttpServer (core-libs/java.net)

Bug fixes

  • 6 bug fixes{{Cite web|date=2022-10-18|title=JDK 19.0.1 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/19-0-1-relnotes.html#bugfixes-R19_0_1|website=oracle.com}}
Java SE 19.0.2{{cite web|url=https://www.oracle.com/java/technologies/javase/19-0-2-relnotes.html|title=JDK 19.0.2 Release Notes|publisher=oracle.com|date=2023-01-17}}

| 2023-01-17

| New features

  • DTLS Resumption Uses HelloVerifyRequest Messages (security-libs/javax.net.ssl)

Other notes

  • FXML JavaScript Engine Disabled by Default (javafx/fxml)

Bug fixes

  • 28 bug fixes{{Cite web|date=2023-01-17|title=JDK 19.0.2 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/19-0-2-relnotes.html#bugfixes-R19_0_2|website=oracle.com}}

{{Anchor|Java 20}}

Java SE 20

{{Infobox Java version

| version name = Java SE 20

| lts = no

| released = {{Start date and age|2023|3|21|df=y|br=yes|paren=yes}}

| jeps = 7

| incubating = Scoped values

| public_support_ended = {{End date|2023|9}}

}}

Java 20 was released on 21 March 2023.{{Cite web |title=JDK 20 |url=https://openjdk.org/projects/jdk/20/ |access-date=2023-04-21 |website=openjdk.org}} All JEPs were either incubators or previews.

  • {{Java JEP|429|Scoped Values (Incubator)}}
  • {{Java JEP|432|Record Patterns (Second Preview)}}
  • {{Java JEP|433|Pattern Matching for switch (Fourth Preview)}}
  • {{Java JEP|434|Foreign Function & Memory API (Second Preview)}}
  • {{Java JEP|436|Virtual Threads (Second Preview)}}
  • {{Java JEP|437|Structured Concurrency (Second Incubator)}}
  • {{Java JEP|438|Vector API (Fifth Incubator)}}

= Java 20 updates =

class="wikitable mw-collapsible mw-collapsed"

|+ class="nowrap" | Table of Java 20 updates

! width=170 | Release

! width=100 | Release date

! Highlights

Java SE 20{{cite web|url=https://www.oracle.com/java/technologies/javase/20-relnote-issues.html|title=JDK 20 Release Notes|publisher=oracle.com|date=2023-03-21}}

| 2023-03-21

| Initial release

Java SE 20.0.1{{cite web|url=https://www.oracle.com/java/technologies/javase/20-0-1-relnotes.html#R20_0_1|title=JDK 20.0.1 Release Notes|publisher=oracle.com|date=2023-04-18}}

| 2023-04-18

| Other notes

  • System Property to Handle HTML ObjectView Creation (client-libs/javax.swing)
  • Added Certigna(Dhimyotis) CA Certificate (security-libs/java.security)
  • File::listRoots Changed to Return All Available Drives on Windows (core-libs/java.io)

Bug fixes

  • 5 bug fixes{{Cite web|date=2023-04-18|title=JDK 20.0.1 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/20-0-1-relnotes.html#bugfixes-R20_0_1|website=oracle.com}}
Java SE 20.0.2{{cite web|url=https://www.oracle.com/java/technologies/javase/20-0-2-relnotes.html#R20_0_2|title=JDK 20.0.2 Release Notes|publisher=oracle.com|date=2023-07-18}}

| 2023-07-18

| New features

  • Support for GB18030-2022 (core-libs/java.nio.charsets)

Known issues

  • Problem Upgrading JDK on Windows if System User Is Using Shared Files (install)

Other notes

  • Missing /usr/java/default Symlink on Linux Restored (install/install)
  • Installation of JDK RPM Corrupts Alternatives (install/install)
  • Added TWCA Root CA Certificate (security-libs/java.security)
  • Added 4 GTS Root CA Certificates (security-libs/java.security)
  • Added Microsoft Corporation's 2 TLS Root CA Certificates (security-libs/java.security)
  • ASLR Support for CDS Archive (hotspot/runtime)
  • New System Property to Control the Maximum Size of Signature Files (security-libs/java.security)
  • Improved ZIP64 Extra Field Validation (core-libs/java.util.jar)

Bug fixes

  • 33 bug fixes{{Cite web|date=2023-07-18|title=JDK 20.0.2 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/20-0-2-relnotes.html#bugfixes-R20_0_2|website=oracle.com}}

{{Anchor|Java 21}}

Java SE 21 (LTS)

{{Infobox Java version

| version name = Java SE 21

| lts = yes

| released = {{Start date and age|2023|9|19|df=y|br=yes|paren=yes}}

| jeps = 15

| features = Record patterns, pattern matching for switch, virtual threads

| previews = String templates, unnamed classes and main methods

| incubating = Vector API

}}

Java 21 was released on 19 September 2023.{{Cite web |title=JDK 21 |url=https://openjdk.org/projects/jdk/21/ |access-date=June 12, 2023 |website=OpenJDK}} The 32-bit version of Java for Windows on x86 was deprecated for removal with this release. The following JEPs were added, including eight JEPs that graduated from the incubating and preview stages, compared to Java 20 which only had previewing and incubating JEPs. Java 21 introduces features first previewed in Java 17 (pattern matching for switch statements) and Java 19 (record patterns). All JEPs added with Java 21 include the following:

  1. {{Java JEP|430|String Templates (Preview)}}
  2. {{Java JEP|431|Sequenced Collections}}
  3. {{Java JEP|439|Generational ZGC}}
  4. {{Java JEP|440|Record Patterns}}
  5. {{Java JEP|441|Pattern Matching for switch}}
  6. {{Java JEP|442|Foreign Function & Memory API (Third Preview)}}
  7. {{Java JEP|443|Unnamed Patterns and Variables (Preview)}}
  8. {{Java JEP|444|Virtual Threads}}
  9. {{Java JEP|445|Unnamed Classes and Instance Main Methods (Preview)}}
  10. {{Java JEP|446|Scoped Values (Preview)}}
  11. {{Java JEP|448|Vector API (Sixth Incubator)}}
  12. {{Java JEP|449|Deprecate the Windows 32-bit x86 Port for Removal}}
  13. {{Java JEP|451|Prepare to Disallow the Dynamic Loading of Agents}}
  14. {{Java JEP|452|Key Encapsulation Mechanism API}}
  15. {{Java JEP|453|Structured Concurrency (Preview)}}

JEP 445, previewing unnamed classes, allows for a barebones Main class without boilerplate code:

void main() {

System.out.println("Hello, World!");

}

instead of :

public class HelloWorld {

public static void main(String[] args) {

System.out.println("Hello, World!");

}

}

= Java 21 updates =

class="wikitable mw-collapsible mw-collapsed"

|+ class="nowrap" | Table of Java 21 updates

! width=170 | Release

! width=100 | Release date

! Highlights

Java SE 21{{cite web|url=https://www.oracle.com/java/technologies/javase/21-relnote-issues.html|title=JDK 21 Release Notes|publisher=oracle.com|date=2023-09-19}}

| 2023-09-19

| Initial release

Java SE 21.0.1{{cite web|url=https://www.oracle.com/java/technologies/javase/21-0-1-relnotes.html|title=JDK 21.0.1 Release Notes|publisher=oracle.com|date=2023-10-17}}

| 2023-10-17

| Other notes

  • Added Certigna Root CA Certificate (security-libs/java.security)
  • Increase Default Value of the System Property jdk.jar.maxSignatureFileSize (security-libs/java.security)

Bug fixes

  • 40 bug fixes{{Cite web|date=2023-10-17|title=JDK 21.0.1 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/21-0-1-relnotes.html#bugfixes-R21_0_1|website=oracle.com}}
Java SE 21.0.2{{Cite web|date=2024-01-16|title=JDK 21.0.2 Release Notes|url=https://www.oracle.com/java/technologies/javase/21-0-2-relnotes.html|website=oracle.com}}

|2024-01-16

| New features

  • TCP_KEEPxxxx Extended Socket Options Are Now Supported on the Windows Platform (core-libs/java.net)

Known issues

  • Potential Performance Regression Due to Limited Range Check Elimination (hotspot/compiler)

Issues fixed

  • ZGC: Reintroduced Support for Non-Default ObjectAlignmentInBytes (hotspot/compiler)

Other notes

  • Added Four Root Certificates from DigiCert, Inc. (security-libs/java.security)
  • Added Three Root Certificates from eMudhra Technologies Limited (security-libs/java.security)
  • Added Telia Root CA v2 Certificate (security-libs/java.security)
  • Added ISRG Root X2 CA Certificate from Let's Encrypt (security-libs/java.security)
  • NMT: Make Peak Values Available in Release Builds (hotspot/runtime)
  • Add User Facing Warning If THPs Are Enabled but Cannot Be Used (hotspot/runtime)

Bug fixes

  • 74 bug fixes{{Cite web|date=2024-01-16|title=JDK 21.0.2 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/21-0-2-relnotes.html#bugfixes-R21_0_2|website=oracle.com}}
Java SE 21.0.3{{Cite web|date=2024-04-16|title=JDK 21.0.3 Release Notes|url=https://www.oracle.com/java/technologies/javase/21-0-3-relnotes.html|website=oracle.com}}

|2024-04-16

| New features

  • Update XML Security for Java to 3.0.3 (security-libs/javax.crypto)

Known issues

  • jpackage Apps May Fail to Build on Debian Linux Distros Due to Missing Shared Libraries (tools/jpackage)

Other notes

  • AWT SystemTray API Is Not Supported on Most Linux Desktops (client-libs/java.awt)
  • Added Certainly R1 and E1 Root Certificates (security-libs/java.security)
  • Align javac with the Java Language Specification by Rejecting final in Record Patterns (tools/javac)

Updates to Third Party Libraries

  • FreeType 2.13.2 (java.desktop)
  • Xalan Java 2.7.3 (java.xml)
  • XML Security for Java 3.0.3 (java.xml.crypto)

Bug fixes

  • 27 bug fixes{{Cite web|date=2024-04-16|title=JDK 21.0.3 Bug Fixes|url=https://www.oracle.com/java/technologies/javase/21-0-3-relnotes.html#bugfixes-R21_0_3|website=oracle.com}}
Java SE 21.0.4{{Cite web|date=2024-07-16|title=JDK 21.0.4 Release Notes|url=https://www.oracle.com/java/technologies/javase/21-0-4-relnotes.html|website=oracle.com}}

|2024-07-16

|

Java SE 21.0.5{{Cite web|date=2024-10-15|title=JDK 21.0.5 Release Notes|url=https://www.oracle.com/java/technologies/javase/21-0-5-relnotes.html|website=oracle.com}}

|2024-10-15

|

Java SE 21.0.6{{Cite web|date=2025-01-21|title=JDK 21.0.6 Release Notes|url=https://www.oracle.com/java/technologies/javase/21-0-6-relnotes.html|website=oracle.com}}

|2025-01-21

|

Java SE 21.0.7{{Cite web|date=2025-04-15|title=JDK 21.0.7 Release Notes|url=https://www.oracle.com/java/technologies/javase/21-0-7-relnotes.html|website=oracle.com}}

|2025-04-15

|

{{anchor|Java 22}}

Java SE 22

{{Infobox Java version

| version name = Java SE 22

| released = {{Start date and age|2024|3|19|df=y|br=yes|paren=yes}}

| lts = no

| jeps = 12

| public_support_ended = {{End date|2024|9}}

| features = Foreign function and memory API, unnamed variables and patterns

| previews = Structured concurrency, string templates

| incubating = Vector API

}}

Java 22 was released on March 19, 2024.{{Cite web |title=JDK 22 |url=https://openjdk.org/projects/jdk/22/ |access-date=April 10, 2024 |website=OpenJDK}}{{Cite web |title=Oracle Releases Java 22 |url=https://www.oracle.com/news/announcement/oracle-releases-java-22-2024-03-19/ |access-date=2024-03-20 |website=oracle.com}} The following features, or JEPs, were added with this release:

  1. {{Java JEP|423|Region Pinning for G1}}
  2. {{Java JEP|447|Statements before super(...) (Preview)}}
  3. {{Java JEP|454|Foreign Function & Memory API}}
  4. {{Java JEP|456|Unnamed Variables & Patterns}}
  5. {{Java JEP|457|Class-File API (Preview)}}
  6. {{Java JEP|458|Launch Multi-File Source-Code Programs}}
  7. {{Java JEP|459|String Templates (Second Preview)}}
  8. {{Java JEP|460|Vector API (Seventh Incubator)}}
  9. {{Java JEP|461|Stream Gatherers (Preview)}}
  10. {{Java JEP|462|Structured Concurrency (Second Preview)}}
  11. {{Java JEP|463|Implicitly Declared Classes and Instance Main Methods (Second Preview)}}
  12. {{Java JEP|464|Scoped Values (Second Preview)}}

An API related to Java's threading implementation, java.lang.Thread.countStackFrames, was removed.{{Cite web |title=Remove Thread.countStackFrames |url=https://bugs.openjdk.org/browse/JDK-8309196 |access-date=2024-04-16 |website=bugs.openjdk.org}}{{Cite web |title=Java SE 22 (JSR 397) |url=https://cr.openjdk.org/~iris/se/22/latestSpec/#APIs-removed |access-date=2024-04-16 |website=cr.openjdk.org}}

{{clear}}

{{anchor|Java 23}}

Java SE 23

{{Infobox Java version

| version name = Java SE 23

| released = {{Start date and age|2024|9|17|df=y|br=yes|paren=yes}}

| jeps = 12

| features = Markdown documentation comments

| previews = Primitive types in Patterns, instanceof, and switch, Class-File API, Stream Gatherers, Module import declarations, Implicitly declared classes and instance main methods, structured concurrency, scoped values, flexible constructor bodies

| incubating = Vector API

| supported = yes

}}

Java 23 was released on September 17, 2024,{{Cite web |title=Java SE 23 Platform JSR 398 |url=https://openjdk.org/projects/jdk/23/spec/ |access-date=2024-01-17 |website=openjdk.org}}{{Cite web |title=JDK 23 |url=https://openjdk.org/projects/jdk/23/ |access-date=2024-08-28 |website=openjdk.org}}{{Cite web |title=Oracle Releases Java 23 |url=https://www.oracle.com/news/announcement/oracle-releases-java-23-2024-09-17/ |access-date=2024-09-17 |website=oracle.com}} with the following JEPs:

  1. {{Java JEP|455|Primitive Types in Patterns, instanceof, and switch (Preview)}}
  2. {{Java JEP|466|Class-File API (Second Preview)}}
  3. {{Java JEP|467|Markdown Documentation Comments}}
  4. {{Java JEP|469|Vector API (Eighth Incubator)}}
  5. {{Java JEP|473|Stream Gatherers (Second Preview)}}
  6. {{Java JEP|471|Deprecate the Memory-Access Methods in sun.misc.Unsafe for Removal}}
  7. {{Java JEP|474|ZGC: Generational Mode by Default}}
  8. {{Java JEP|476|Module Import Declarations (Preview)}}
  9. {{Java JEP|477|Implicitly Declared Classes and Instance Main Methods (Third Preview)}}
  10. {{Java JEP|480|Structured Concurrency (Third Preview)}}
  11. {{Java JEP|481|Scoped Values (Third Preview)}}
  12. {{Java JEP|482|Flexible Constructor Bodies (Second Preview)}}

The String Templates preview feature was removed in Java 23 due to issues with the design of the feature.{{Cite mailing list |last=Bierman |first=Gavin |title=Update on String Templates (JEP 459) |mailing-list=Amber Expert Group |date=2024-04-05 |url=https://mail.openjdk.org/pipermail/amber-spec-experts/2024-April/004106.html |access-date=2024-09-25}}

{{clear}}

{{Anchor|Java 24}}

Java SE 24

{{Infobox Java version

| version name = Java SE 24

| released = {{Start date and age|2025|3|18|df=y|br=yes|paren=yes}}

| jeps = 24

| supported = yes

}}

The specification for Java 24 was finalized in December 2024, with 24 JEPs making it into the release and it was released on 18 March 2025.{{Cite web |title=Java SE 24 Platform JSR 399 |url=https://openjdk.org/projects/jdk/24/spec/ |access-date=2024-09-25 |website=openjdk.org}}

The following JEPs were targeted to this version of Java SE:{{cite web |url=https://openjdk.org/projects/jdk/24/ |title=JDK 24 |website=OpenJDK |publisher=Oracle Corporation |access-date=November 9, 2024}}

  1. {{Java JEP|404|Generational Shenandoah (Experimental)}}
  2. {{Java JEP|450|Compact Object Headers (Experimental)}} (formerly known as Project Lilliput)
  3. {{Java JEP|472|Prepare to Restrict the Use of JNI}}
  4. {{Java JEP|475|Late Barrier Expansion for G1}}
  5. {{Java JEP|478|Key Derivation Function API (Preview)}}
  6. {{Java JEP|479|Remove the Windows 32-bit x86 Port}}
  7. {{Java JEP|483|Ahead-of-Time Class Loading & Linking}}
  8. {{Java JEP|484|Class-File API}}
  9. {{Java JEP|485|Stream Gatherers}}
  10. {{Java JEP|486|Permanently Disable the Security Manager}}
  11. {{Java JEP|487|Scoped Values (Fourth Preview)}}
  12. {{Java JEP|488|Primitive Types in Patterns, instanceof, and switch (Second Preview)}}
  13. {{Java JEP|489|Vector API (Ninth Incubator)}}
  14. {{Java JEP|490|ZGC: Remove the Non-Generational Mode}}
  15. {{Java JEP|491|Synchronize Virtual Threads without Pinning}}
  16. {{Java JEP|492|Flexible Constructor Bodies (Third Preview)}}
  17. {{Java JEP|493|Linking Run-Time Images without JMODs}}
  18. {{Java JEP|494|Module Import Declarations (Second Preview)}}
  19. {{Java JEP|495|Simple Source Files and Instance Main Methods (Fourth Preview)}}
  20. {{Java JEP|496|Quantum-Resistant Module-Lattice-Based Key Encapsulation Mechanism}}
  21. {{Java JEP|497|Quantum-Resistant Module-Lattice-Based Digital Signature Algorithm}}
  22. {{Java JEP|498|Warn upon Use of Memory-Access Methods in sun.misc.Unsafe}}
  23. {{Java JEP|499|Structured Concurrency (Fourth Preview)}}
  24. {{Java JEP|501|Deprecate the 32-bit x86 Port for Removal}}

{{Clear}}

{{Anchor|Java 25}}

Java SE 25 (LTS)

{{Infobox Java version

| version name = Java SE 25

| lts = yes

| released = {{Start date and age|2025|9|df=y|br=yes|paren=yes}}

| jeps = 0

| unreleased = yes

}}

{{As of|2024|December}}, the specification for Java 25 has not yet been finalized. Java 25 is scheduled for release in September 2025.{{Cite web |title=Java SE 25 Platform JSR 400 |url=https://openjdk.org/projects/jdk/25/spec/ |access-date=2024-12-15 |website=openjdk.org}}

{{Clear}}

Future features

  • [https://openjdk.java.net/projects/valhalla/ Project Valhalla]: Value classes, whose objects lack identity, but can in certain cases get an improved memory layout (with less indirection), or have their allocation optimized away entirely.
  • [https://openjdk.java.net/projects/panama/ 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 (this part of Project Panama is getting stabilized in Java 22 under [https://openjdk.org/jeps/454 JEP 454: Foreign Function & Memory API]).
  • Vector API, a portable and relatively low-level abstraction layer for SIMD programming. Its stabilization is dependent on Project Valhalla.
  • [https://wiki.openjdk.org/display/lilliput Project Lilliput]: Reduce the size of Java object headers. First down to 64 bits, and then down to 32 bits.
  • Reducing startup time and warm-up time (time to peak performance) in JIT mode:
  • [https://openjdk.org/projects/crac/ Project CRaC] enables making snapshots of whole JVM (together with the running application) and restoring it with necessary adjustments (reopening files, sockets, etc).
  • [https://openjdk.org/projects/leyden/ Project Leyden], among other things, will allow partial or (in the long term) full AOT compiling, reducing overall dynamism (by adopting so called "closed-world constraints") to reduce dynamic compiling overhead.
  • [https://openjdk.org/projects/babylon/ Project Babylon] aims to extend the Java language's reach to alternative programming models with an enhancement to its reflective programming abilities, called code reflection (i.e., reflection over code itself). The stated main goal is to run Java code on GPUs, with SQL and other programming models as secondary targets.

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{{Cite web|url=https://developer.ibm.com/javasdk/downloads/|title=Downloads – Overview|date=July 18, 2016}} 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

{{reflist|refs=

{{Cite web|url=https://www.ibm.com/support/pages/java-sdk-lifecycle-dates|title=IBM Java SDK lifecycle}}

{{Cite web|url=https://www.ibm.com/support/pages/semeru-runtimes-support|title=IBM Semeru Runtimes lifecycle}}

{{Cite web|url=https://www.azul.com/products/azul-support-roadmap|title=Azul JDK roadmap}}

{{Cite web|url=https://aws.amazon.com/corretto/faqs|title = Amazon Corretto support calendar}}

{{Cite web|url=https://access.redhat.com/articles/1299013|title = Red Hat OpenJDK Life Cycle and Support Policy| date=19 November 2023 }}

{{Cite web|url=https://bell-sw.com/support/#roadmap|title = Liberica JDK roadmap}}

{{Cite web|url=https://adoptium.net/support|title = Eclipse Temurin Release Roadmap}}

{{Cite web|url=https://www.oracle.com/java/technologies/java-se-support-roadmap.html|title=Oracle Java SE Support Roadmap|website=oracle.com}}

}}