What is the difference between Java CPU and PSU Releases, eg JDK SE 8u101 and JDK SE 8u102

I'm installing JDK SE 8u101 on my mac for Android Studio. Is there any reason I should pick 8u102 vs. 8u101? Are there any noticeable differences in them? Looks like they were released at the same time.


Solution 1:

Are there any noticeable differences in them?

  • 8u101 contains security updates. This is a Critical Patch Update (CPU).

  • 8u102 contains the security updates and new features. This is a Patch Set Update (PSU). There is also a known bug in 8u101 which is resolved in 8u102.

Release notes:

  • 8u101 Update Release Notes

  • 8u102 Update Release Notes


Java CPU and PSU Releases Explained

Which Java version should I choose: the CPU or the PSU?

Oracle strongly recommends that all Java SE users upgrade to the latest CPU release available for a release family. Most users should choose the CPU release.

Users should only use the corresponding PSU release if they are being impacted by one of the additional bugs fixed in that version as noted in the release notes.

The subsequent CPU release will contain all of the fixes from the current PSU. For this reason, organizations should test the current PSU in their environment in anticipation of these fixes being included in the next CPU.

What is the difference between a Java CPU and PSU release?

Java SE Critical Patch Updates (CPU) contain fixes to security vulnerabilities and critical bug fixes. Oracle strongly recommends that all Java SE users upgrade to the latest CPU releases as they are made available. Java SE CPU releases are odd numbered versions (i.e. 7u71, 7u65 – see more on Java SE version numbering schemes here).

Java SE Patch Set Updates (PSU) contain all of fixes in the corresponding CPU, as well as additional non-critical fixes. Java PSU releases should only be used if you are being impacted by one of the additional bugs fixed in that version. The release notes call out the additional fixes available in Java SE PSU releases.

Source Java CPU and PSU Releases Explained