Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does Oracle publish 2 versions of JDK each time? [closed]

At the time of this question, if you want to download Oracle JDK, you can download v8u91 AND v8u92.

Why 2 versions ?

like image 392
iXô Avatar asked May 30 '16 11:05

iXô


People also ask

Why is Java 8 still popular?

Ans: The fact that Java 8 is an LTS (Long-Term Support) version is one of the main reasons for its continued popularity. Regrettably, not all Java versions are LTS versions! Only Java 8 (2014) and Java 11 (2018) have been recognized as having LTS since the policy was implemented.

Is JDK 1.8 still free?

You can download the latest OpenJDK release of Java from Oracle, for free, under an open source license from jdk.java.net. Oracle JDK 8 and Oracle JDK 11 are free for Personal, Development and other uses. Oracle JDK 17 and later release are available under a Oracle No-Fee Terms and Conditions License for all users.

Do we use Open JDK in production?

Answer is yes, Iff you use Oracle JDK for business, commercial, or production purposes.


1 Answers

The lower version is a more conservative build, more production ready. The higher version has more optimisations which is fine for development, possibly production, and allows them to release optimisations and features they would like to release but haven't been as well tested.

http://www.oracle.com/technetwork/java/javase/downloads/index.html

Java SE 8u92 is a patch-set update, including all of 8u91 plus additional features (described in the release notes).

In particular the differences documented are

SHA224 removed from the default support list if SunMSCAPI enabled SunJSSE allows SHA224 as an available signature and hash algorithm for TLS 1.2 connections. However, the current implementation of SunMSCAPI does not yet support SHA224. This can cause problems if SHA224 and SunMSCAPI private keys are used at the same time.

To mitigate the problem, we remove SHA224 from the default support list if SunMSCAPI is enabled.

See JDK-8064330.

New JVM Options added: ExitOnOutOfMemoryError and CrashOnOutOfMemoryError Two new JVM flags have been added:

ExitOnOutOfMemoryError - When you enable this option, the JVM exits on the first occurrence of an out-of-memory error. It can be used if you prefer restarting an instance of the JVM rather than handling out of memory errors.

CrashOnOutOfMemoryError - If this option is enabled, when an out-of-memory error occurs, the JVM crashes and produces text and binary crash files (if core files are enabled).

See JDK-8138745.

In short, if you are rushing a version into production, use the lower version, or NEVER rush a new version into production, use the higher version and test your application with it.

like image 106
Peter Lawrey Avatar answered Oct 19 '22 13:10

Peter Lawrey