Java version history
The Java language has undergone several changes since JDK 1.0 as well as numerous additions of classes and packages to the standard library. Since J2SE 1.4, the evolution of the Java language has been governed by the Java Community Process, which uses Java Specification Requests to propose and specify additions and changes to the Java platform. The language is specified by the Java Language Specification ; changes to the JLS are managed under .
In addition to the language changes, other changes have been made to the Java Class Library over the years, which has grown from a few hundred classes in JDK 1.0 to over three thousand in J2SE 5. Entire new APIs, such as Swing and Java2D, have been introduced, and many of the original JDK 1.0 classes and methods have been deprecated. Some programs allow conversion of Java programs from one version of the Java platform to an older one .
Regarding to Oracle Java distribution, the version 11 is a currently supported long-term support version. ; Oracle released for the "legacy" Java 8 LTS the last free "public update" in January 2019 for commercial use, while it will otherwise still support Java 8 with public updates for personal use up to at least December 2020. Java 10 is the previously supported rapid release version. Java 10 support ended on the same date that support for Java 11 began, in September 2018. Java 7 is no longer publicly supported, and Java 9 has stopped receiving updates since Java 9 was a short-term rapid release version that has been superseded by Java 10 and now Java 11. For Java 11, long-term support will not be provided by Oracle for the public; instead, the broader OpenJDK community, as AdoptOpenJDK or others, is expected to perform the work.
Java 14 General Availability occurred on March 17, 2020, and Java 15 has an Early Access build.
JDK 15 is planned for release on September 15, 2020. Some of the JEPs currently targeted for JDK 15 include:
-
History
JDK 1.0
The first version was released on January 23, 1996. The first stable version, JDK 1.0.2, is called Java 1.JDK 1.1
Major additions in the release on February 19, 1997 included:- an extensive retooling of the AWT event model
- inner classes added to the language
- JavaBeans
- JDBC
- RMI
- reflection which supported Introspection only, no modification at runtime was possible.
- JIT compiler on Microsoft Windows platforms, produced for JavaSoft by Symantec
- Internationalization and Unicode support originating from Taligent
J2SE 1.2
The release on December 8, 1998 and subsequent releases through J2SE 5.0 were rebranded retrospectively Java 2 and the version name "J2SE" replaced JDK to distinguish the base platform from J2EE and J2ME. 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:
-
strictfp
keyword - the Swing graphical API was integrated into the core classes
- Sun's JVM was equipped with a JIT compiler for the first time
- Java plug-in
- Java IDL, an IDL implementation for CORBA interoperability
- Collections framework
J2SE 1.3
The most notable changes in the May 8, 2000 release were:
- HotSpot JVM included
- RMI was modified to support optional compatibility with CORBA
- Java Naming and Directory Interface included in core libraries
- Java Platform Debugger Architecture
- JavaSound
- Synthetic proxy classes
J2SE 1.4
The February 6, 2002 release was the first release of the Java platform developed under the Java Community Process as . Major changes included:
- Language changes
- *
assert
keyword - Library improvements
- * Regular expressions modeled after Perl regular expressions
- * Exception chaining allows an exception to encapsulate original lower-level exception
- * Internet Protocol version 6 support
- * Non-blocking I/O
- * Logging API
- * Image I/O API for reading and writing images in formats like JPEG and PNG
- * Integrated XML parser and XSLT processor
- * Integrated security and cryptography extensions
- * Java Web Start included
- * Preferences API
J2SE 5.0
Codename TigerThe 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". This version was developed under .
J2SE 5.0 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:
- Generics: provides compile-time type safety for collections and eliminates the need for most typecasts
- 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
- Autoboxing/unboxing: automatic conversions between primitive types and primitive wrapper classes
- Enumerations: the
enum
keyword creates a typesafe, ordered list of values ; previously this could only be achieved by non-typesafe constant integers or manually constructed classes - Varargs: the last parameter of a method can now be declared using a type name followed by three dots ; 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: thefor
loop syntax is extended with special syntax for iterating over each member of either an array or any, such as the standard classes - Improved semantics of execution for multi-threaded Java programs; the new Java memory model addresses issues of complexity, effectiveness, and performance of previous specifications
- Static imports
- Automatic stub generation for RMI objects
- Swing: New skinnable look and feel, called synth
- The in package
- Scanner class for parsing data from various input streams and buffers
Java 5 Update 5 is the last release of Java to work on Windows 95 and Windows NT 4.0.
Java 5 was first available on Apple Mac OS X 10.4 and was the default version of Java installed on Apple Mac OS X 10.5.
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:This correspondence continued through later releases.
Java 5 updates
Java SE 6
Codename MustangAs of the version released on December 11, 2006, Sun replaced the name "J2SE" with Java SE and dropped the ".0" from the version number. Internal numbering for developers remains 1.6.0.
This version was developed under .
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:
- Support for older Win9x versions dropped; unofficially, Java 6 Update 7 was the last release of Java shown to work on these versions of Windows. This is believed to be due to the major changes in Update 10.
- Scripting Language Support : Generic API for tight integration with scripting languages, and built-in Mozilla JavaScript Rhino integration.
- Dramatic performance improvements for the core platform, and Swing.
- Improved Web Service support through JAX-WS.
- JDBC 4.0 support.
- Java Compiler API : 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.
- Many GUI improvements, such as integration of SwingWorker in the API, table sorting and filtering, and true Swing double-buffering.
- JVM improvements include: synchronization and compiler performance optimizations, new algorithms and upgrades to existing garbage collection algorithms, and application start-up performance.
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. Oracle released two more updates to Java 6 in March and April 2013, which patched some security vulnerabilities.
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.Release | 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 | 2007-05-07 | |
Java SE 6 Update 2 | 2007-07-03 | |
Java SE 6 Update 3 | 2007-10-03 | |
Java SE 6 Update 4 | 2008-01-14 | HotSpot VM 10 |
Java SE 6 Update 5 | 2008-03-05 | Several security flaws were eliminated. New root certificates from AOL, DigiCert, and TrustCenter are now included. |
Java SE 6 Update 6 | 2008-04-16 | A 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 | Unofficially, Java SE 6 Update 7 is the last version of Java that was shown to be working on the Win9x family of operating systems | |
Java SE 6 Update 10 | 2008-10-15 | HotSpot VM 11. Major changes for this update include:
|
Java SE 6 Update 11 | 2008-12-03 | 13 security fixes |
Java SE 6 Update 12 | 2008-12-12 | No security fixes; 64-bit Java plug-in ; Windows Server 2008 support; performance improvements of graphics and JavaFX applications |
Java SE 6 Update 13 | 2009-03-24 | 7 security fixes, JNDI store and retrieve Java objects in LDAP slightly modified, JMX Change, 4 new root certificates added |
Java SE 6 Update 14 | 2009-05-28 | HotSpot VM 14. This release includes extensive performance updates to the JIT compiler, compressed pointers for 64-bit machines, as well as support for the G1 low-pause garbage collector.The -XX:+DoEscapeAnalysis option directs the HotSpot JIT compiler to use escape analysis to determine if local objects can be allocated on the stack instead of the heap.Some developers have noticed an issue introduced in this release which causes debuggers to miss breakpoints seemingly randomly. Sun has a corresponding bug, which is tracking the issue. The workaround applies to the Client and Server VMs. 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 | 2009-08-04 | Introduced patch-in-place functionality |
Java SE 6 Update 16 | 2009-08-11 | Fixed the issue introduced in update 14 which caused debuggers to miss breakpoints |
Java SE 6 Update 17 | 2009-11-04 | Security fixes; two new root certificates |
Java SE 6 Update 18 | 2010-01-13 | No 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 | 2010-03-30 | Security 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 | 2010-04-15 | 2 security fixes |
Java SE 6 Update 21 | 2010-07-07 | No 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 | 2010-10-12 | 29 security fixes; support |
Java SE 6 Update 23 | 2010-12-08 | No security fixes; Hotspot VM 19; better support for right-to-left languages |
Java SE 6 Update 24 | 2011-02-15 | 21 security fixes; updated Java DB |
Java SE 6 Update 25 | 2011-03-21 | No 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 |
Java SE 6 Update 26 | 2011-06-07 | 17 new security fixes; last version compatible with Windows Vista SP1 |
Java SE 6 Update 27 | 2011-08-16 | No security fixes; certification for Firefox 5 |
Java SE 6 Update 29 | 2011-10-18 | 20 security fixes, various bug fixes |
Java SE 6 Update 30 | 2011-12-12 | No security fixes; fix for SSL regression in Update 29; support for Red Hat Enterprise Linux 6 |
Java SE 6 Update 31 | 2012-02-14 | 14 security fixes and one bug fix; last version work reliably for Windows 2000 |
Java SE 6 Update 32 | 2012-04-26 | No security fixes, various bug fixes |
Java SE 6 Update 33 | 2012-06-12 | 14 security fixes, improved VM configuration file loading |
Java SE 6 Update 34 | 2012-08-14 | No security fixes, various bug fixes |
Java SE 6 Update 35 | 2012-08-30 | Contains a security-in-depth fix |
Java SE 6 Update 37 | 2012-10-16 | 30 security fixes |
Java SE 6 Update 38 | 2012-12-11 | Various bug fixes |
Java SE 6 Update 39 | 2013-02-01 | 50 security fixes |
Java SE 6 Update 41 | 2013-02-19 | 5 security fixes |
Java SE 6 Update 43 | 2013-03-04 | 2 security fixes |
Java SE 6 Update 45 | 2013-04-16 | 42 security fixes; other changes; final public update. |
Java SE 6 Update 51 | 2013-06-18 | Not 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 |
Java SE 6 Update 65 | 2013-10-15 | Not 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 |
Java SE 6 Update 71 | 2014-01-14 | Not available for public download; 33 fixes |
Java SE 6 Update 75 | 2014-04-15 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster no. #54; 25 security fixes |
Java SE 6 Update 81 | 2014-07-15 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 11 security fixes |
Java SE 6 Update 85 | 2014-10-16 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 18 security fixes |
Java SE 6 Update 91 | 2015-01-21 | Linux x64 and Windows i586 versions are available as the Java SE 6 Reference Implementation. Other versions are only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 15 security fixes |
Java SE 6 Update 95 | 2015-04-14 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 14 security fixes |
Java SE 6 Update 101 | 2015-07-15 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 18 security fixes Certification for IE 10 and 11 was introduced in 1.6.0_101 |
Java SE 6 Update 105 | 2015-10-20 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 17 security fixes |
Java SE 6 Update 111 | 2016-01-20 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 13 security fixes |
Java SE 6 Update 113 | 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 6 Update 115 | 2016-04-21 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 8 security fixes |
Java SE 6 Update 121 | 2016-07-19 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 15 security fixes |
Java SE 6 Update 131 | 2016-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 6 Update 141 | 2017-01-17 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 17 security fixes |
Java SE 6 Update 151 | 2017-04-18 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 10 security fixes |
Java SE 6 Update 161 | 2017-07-18 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 5 security fixes |
Java SE 6 Update 171 | 2017-10-20 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 7 security fixes |
Java SE 6 Update 181 | 2018-01-16 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 12 security fixes |
Java SE 6 Update 191 | 2018-04-17 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 7 security fixes |
Java SE 6 Update 201 | 2018-07-17 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 3 security fixes |
Java SE 6 Update 211 | 2018-10-18 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 8 security fixes |
Java SE 7
Java 7 is a major update that was launched on July 7, 2011 and was made available for developers on July 28, 2011. The development period was organized into thirteen milestones; on June 6, 2011, the last of the thirteen milestones was finished. On average, 8 builds were released per milestone. The lists many of the changes.Additions in Java 7 include:
- JVM support for dynamic languages, with the new
invokedynamic
bytecode under JSR-292, following the prototyping work currently done on the Multi Language Virtual Machine - Compressed 64-bit pointers
- These small language changes :
- Concurrency utilities under JSR 166
- New file I/O library adding support for multiple file systems, file metadata and symbolic links. The new packages are
java.nio.file
,java.nio.file.attribute
andjava.nio.file.spi
- 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
- Enhanced library-level support for new network protocols, including SCTP and Sockets Direct Protocol
- Upstream updates to XML and Unicode
- Java deployment rule sets
Java 7 was the default version to download on java.com from April 2012 until Java 8 was released.
Java 7 updates
Oracle issued public updates to the Java 7 family on a quarterly basis until April 2015 when the product reached the end of its public availability. Further updates for JDK 7, which are scheduled to continue until Jul 2022, are only made available to customers with a support contract.Release | Release date | Highlights |
Java SE 7 | 2011-07-28 | Initial release; HotSpot VM 21 |
Java SE 7 Update 1 | 2011-10-18 | 20 security fixes, other bug fixes |
Java SE 7 Update 2 | 2011-12-12 | No 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 | 2012-02-14 | 14 security fixes |
Java SE 7 Update 4 | 2012-04-26 | No security updates; HotSpot VM 23; JDK Support for Mac OS X |
Java SE 7 Update 5 | 2012-06-12 | 14 security fixes |
Java SE 7 Update 6 | 2012-08-14 | JavaFX 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 |
Java SE 7 Update 7 | 2012-08-30 | 4 security fixes |
Java SE 7 Update 9 | 2012-10-16 | 30 security vulnerabilities fixes |
Java SE 7 Update 10 | 2012-12-11 | New 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 | 2013-01-13 | Olson Data 2012i; bugfix for problems with registration of plugin on systems with Stand-alone version of JavaFX Installed, security fixes for ; the default security level for Java applets and web start applications has been increased from "Medium" to "High" |
Java SE 7 Update 13 | 2013-02-01 | 50 security fixes |
Java SE 7 Update 15 | 2013-02-19 | 5 security fixes |
Java SE 7 Update 17 | 2013-03-04 | 2 security fixes |
Java SE 7 Update 21 | 2013-04-16 | Multiple changes including 42 security fixes, a new Server JRE that doesn't include the plug-in, and the JDK for Linux on ARM |
Java SE 7 Update 25 | 2013-06-18 | Multiple changes including 40 security fixes |
Java SE 7 Update 40 | 2013-09-10 | 621 bug fixes, New security features, hardfloat ARM, Java Mission Control 5.2 and Retina Display support |
Java SE 7 Update 45 | 2013-10-15 | 51 security fixes; protections against unauthorized redistribution of Java applications; restore security prompts; JAXP changes; TimeZone.setDefault change |
Java SE 7 Update 51 | 2014-01-14 | 36 security fixes; block JAVA applets without manifest even if warning dialog is with sentence "will be blocked in next version", 17 bug fixes |
Java SE 7 Update 55 | 2014-04-15 | 37 security fixes, 19 bug fixes |
Java SE 7 Update 60 | 2014-05-28 | Java Mission Control 5.3, 130 bug fixes |
Java SE 7 Update 65 | 2014-07-15 | 18 bug fixes |
Java SE 7 Update 67 | 2014-08-04 | 1 bug fix |
Java SE 7 Update 71 | 2014-10-14 | 16 bug fixes |
Java SE 7 Update 72 | 2014-10-14 | Same release date with Update 71 as a corresponding Patch Set Update for Java SE 7, 36 bug fixes |
Java SE 7 Update 75 | 2015-01-20 | 12 bug fixes, SSLv3 disabled by default |
Java SE 7 Update 76 | 2015-01-20 | Same release date with Update 75 as a corresponding Patch Set Update for Java SE 7, 97 bug fixes |
Java SE 7 Update 79 | 2015-04-14 | 21 security fixes, 6 bug fixes, |
Java SE 7 Update 80 | 2015-04-14 | Last public release of Java 7; same release date with Update 79 as a corresponding Patch Set Update for Java SE 7, 104 bug fixes |
Java SE 7 Update 85 | 2015-07-15 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 25 security fixes |
Java SE 7 Update 91 | 2015-10-20 | Not available publicly, only available through the Java SE Support program and in Solaris 10's Recommended Patchset Cluster; 20 security fixes |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
Java SE 8
Java 8 was released on March 18, 2014, and included some features that were planned for Java 7 but later deferred.Work on features was organized in terms of JDK Enhancement Proposals.
- JSR 335, JEP 126: Language-level support for lambda expressions under Project Lambda and default methods which allow the addition of methods to interfaces without breaking existing implementations. There was an ongoing debate in the Java community on whether to add support for lambda expressions. Sun later declared that lambda expressions would be included in Java and asked for community input to refine the feature. Supporting lambda expressions also enables functional-style operations on streams of elements, such as MapReduce-inspired transformations on collections. Default methods allow 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 also allow multiple inheritance of behavior.
- JSR 223, JEP 174: Project Nashorn, a JavaScript runtime which allows developers to embed JavaScript code within applications
- JSR 308, JEP 104: Annotation on Java types
- Unsigned integer arithmetic
- JSR 337, JEP 120: Repeating annotations
- JSR 310, JEP 150: Date and time API
- JEP 178: Statically-linked JNI libraries
- JEP 153: Launch JavaFX applications
- JEP 122: Remove the permanent generation
From October 2014, Java 8 was the default version to download from the official website. "Oracle will continue to provide Public Updates and auto updates of Java SE 8, until at least the end of December 2020 for Personal Users, and January 2019 for Commercial Users".
Java 8 updates
Java SE 9
Java SE 9 was made available on September 21, 2017, due to controversial acceptance of the current implementation of Project Jigsaw by Java Executive Committee, 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.- JSR 376: Modularization of the JDK under Project Jigsaw
- JEP 222: JShell: The Java Shell
- JEP 295: Ahead-of-time compilation
- JEP 268: XML catalogs
- JEP 266: More concurrency updates. It includes a Java implementation of Reactive Streams, including a new
Flow
class that included the interfaces previously provided by Reactive Streams - JEP 193: Variable handles: define a standard means to invoke the equivalents of various
java.util.concurrent.atomic
andsun.misc.Unsafe
operations - 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
- JavaDB was removed from JDK
- JEP 263: HiDPI graphics: automatic scaling and sizing
- JEP 254: Compact Strings
- 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
History
At JavaOne 2011, Oracle discussed features they hoped to release for Java 9 in 2016. Java 9 should include better support for multi-gigabyte heaps, better native code integration, a different default garbage collector and a self-tuning JVM. In early 2016, the release of Java 9 was rescheduled for March 2017 and later again postponed four more months to July 2017.Java 9 updates
Java SE 10
OpenJDK 10 was released on March 20, 2018, with twelve new features confirmed. Among these features were:- JEP 286: Local-variable type inference
- JEP 317: Experimental Java-based JIT compiler. This is the integration of the Graal dynamic compiler for the Linux x64 platform
- JEP 310: Application class-data sharing. This allows application classes to be placed in the shared archive to reduce startup and footprint for Java applications
- JEP 322: Time-based release versioning
- JEP 307: Parallel full GC for G1
- JEP 304: Garbage-collector interface
- JEP 314: Additional Unicode language-tag extensions
- JEP 319: Root certificates
- JEP 312: Thread-local handshakes
- JEP 316: Heap allocation on alternative memory devices
- JEP 313: Remove the native-header generation tool – javah
- JEP 296: Consolidate the JDK forest into a single repository
Java 10 updates
Java SE 11
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:- JEP 309: Dynamic class-file constants
- JEP 318: Epsilon: a no-op garbage collector
- JEP 323: Local-variable syntax for lambda parameters
- JEP 331: Low-overhead heap profiling
- JEP 321: HTTP client
- JEP 332: Transport Layer Security 1.3
- JEP 328: Flight recorder
- JEP 333: ZGC: a scalable low-latency garbage collector
- JavaFX, Java EE and CORBA modules have been removed from JDK
- JEP 335: Deprecated the Nashorn JavaScript engine
- Unicode 10.0.0 support
Java 11 updates
Java SE 12
JDK 12 was released on March 19, 2019. Among others, Java 12 includes a number of new features, such as:- JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector
- JEP 230: Microbenchmark Suite
- JEP 325: Switch Expressions
- JEP 334: JVM Constants API
- JEP 340: One AArch64 Port, Not Two
- JEP 341: Default CDS Archives
- JEP 344: Abortable Mixed Collections for G1
- JEP 346: Promptly Return Unused Committed Memory from G1
Java 12 updates
Java SE 13
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".-
Java 13 updates
Java SE 14
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".-
Java 14 updates
Java SE 15
JDK 15 is due to be release on September 15, 2020. As of July 16, 2020 it is in 'Rampdown Phase Two'Java 15 updates
Java SE 16
JDK 16 is the current release now under active development, due out in March 2021 if the current 6 month release cycles continue.Java 16 updates
Possible future features
- Value types, objects without identity but with an efficient memory layout.
- 64-bit addressable arrays to support large data sets.
- Pattern matching, a mechanism for testing and deconstruction values. This feature might be added to the switch-expression and the instance-of-expression.
- Sealed types, a mechanism for declaring all possible subclasses of a class. Together with the record and pattern matching features this is used to implement algebraic data types.
- 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 have better performance than today.
- Virtual threads, a lightweight user-mode scheduled alternative to standard OS managed threads. Virtual threads are mapped to OS threads in many-to-many reliationship, in contrast to many-to-one relationship from :en:Green_threads#Green_threads_in_the_Java_virtual_machine|original green threads implementation in early versions of Java.
Implementations
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.
Other proprietary Java implementations are available, such as Azul's Zing; additionally, 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 permissive license, in contrast to the copyleft license chosen for OpenJDK. Google later developed Android and released it under a permissive 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 use of Harmony components with equivalent ones from OpenJDK.
Both Jikes and Jikes RVM are open source research projects that were developed by IBM.
Several other implementations exist that started as proprietary software but are now open source. IBM initially developed OpenJ9 as the proprietary J9, 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.