Delete nonfunctional desktop integration functionality from
Linux installers. The installers will stop depositing files in
/usr/share/icons
, /usr/share/mime
, and
/usr/share/applications
subtrees.
JDK 22.0.2 Release Notes
Removed Features and Options
Remove Obsolete Desktop Integration from Linux Installers (JDK-8322234 (not public))
Notable Issues Fixed
jpackage
May Produce an Inaccurate List of
Required Packages on Debian Linux Distros (JDK-8295111)
Fixed an issue on Debian Linux distros where
jpackage
could not always build an accurate list of
required packages from shared libraries with symbolic links in
their paths, causing installations to fail due to missing shared
libraries.
Other Notes
Added GlobalSign R46 and E46 Root CA Certificates (JDK-8316138)
The following root certificates have been added to the cacerts truststore:
+ GlobalSign
+ globalsignr46
DN: CN=GlobalSign Root R46, O=GlobalSign nv-sa, C=BE
+ GlobalSign
+ globalsigne46
DN: CN=GlobalSign Root E46, O=GlobalSign nv-sa, C=BE
Native Executables and Libraries on Linux Use
RPATH
Instead of RUNPATH
(JDK-8326891)
Native executables and libraries on Linux have switched to using
RPATH
instead of RUNPATH
in this
release.
JDK native executables and libraries use embedded runtime search
paths to locate other internal JDK native libraries. On Linux these
can be defined as either RPATH
or
RUNPATH
. The main difference is that the dynamic
linker considers RPATH
before the
LD_LIBRARY_PATH
environment variable, while
RUNPATH
is only considered after
LD_LIBRARY_PATH
.
By making the change to using RPATH
, it is no
longer possible to replace JDK internal native libraries using
LD_LIBRARY_PATH
.
Install DEB and RPM Java Packages in Version Directory (JDK-8325265 (not public))
The installation directory name of the Oracle JDK in RPM and DEB
packages has changed from
/usr/lib/jvm/jdk-${FEATURE}-oracle-${ARCH}
to
/usr/lib/jvm/jdk-${VERSION}-oracle-${ARCH}
.
Every update release will be installed in a separate directory on Linux platform.
Installers will create a
/usr/java/jdk-${FEATURE}-oracle-${ARCH}
link pointing
to the installation directory to allow programs to find the latest
JDK version in the ${FEATURE}
release train.
Fallback Option For POST-only OCSP Requests (JDK-8328638)
JDK 17 introduced a performance improvement that made OCSP clients unconditionally use GET requests for small requests, while doing POST requests for everything else. This is explicitly allowed and recommended by RFC 5019 and RFC 6960. However, we have seen OCSP responders that, despite RFC requirements, are not working well with GET requests.
This release introduces a new JDK system property to allow
clients to fallback to POST-only behavior. This unblocks
interactions with those OCSP responders through the use of
-Dcom.sun.security.ocsp.useget={false,true}
. This
amends the original change that introduced GET OCSP requests
(JDK-8179503). The
default behavior is not changed; the option defaults to
true
. Set the option to false
to disable
GET OCSP requests. Any value other than false
(case-insensitive) defaults to true
.
This option is non-standard, and might go away once problematic OCSP responders get upgraded.