Liberica JDK 15.0.1+9 Release Notes

The full version string for this update release is 15.0.1+9. The version number is 15.

Liberica JDK 15.0.1+9

Liberica is a certified, Java SE 15-compliant distribution of OpenJDK 15 which works on server (Linux x86_64, Linux ARM64, Solaris SPARC, Solaris x64, Windows 64), desktop (Windows 64, Windows 32, Mac, Linux x86_64), and embedded devices (Linux ARM64, Linux ARMv7, including Raspberry Pi 2, 3, 4 (ARMv6 hardfloat)). It has the following notable additions:

  • Linux x86_64 version contains experimental support for ZGC.
  • Linux x86_64, ARMv8 and ARMv7 distributions include a choice of Client VM, Server VM and Minimal VM.
  • Alpine Linux x86_64 version is build with musl support.
  • Windows x86_64, Windows x86, Mac, Linux x86_64, Linux x86 and Linux ARMv7 distributions contain OpenJFX 15.
  • Linux ARMv7 distribution contains Device IO API compiled for Raspberry Pi.

Please refer to the Oracle JDK 15.0.1 release notes for further information on JDK 15 features. This document further outlines the peculiarities of Liberica distribution as compared to Oracle JDK 15 distribution.

Supported Server and Desktop configurations

Liberica is supported on the following OSes:

  • Ubuntu Linux 16.04, 18.04 (x86, x86_64, ARMv8)
  • Debian Linux 8, 9 (x86, x86_64, ARMv8)
  • Red Hat, Oracle Linux and CentOS 6.x, 7.x (x86, x86_64, ARMv8)
  • Alpine Linux 3.7+
  • SUSE Linux Enterprise 12, 15 and tumbleweed (x86_64, ARMv8)
  • Apple macOS 10.11+
  • Microsoft Windows 2019, Windows 2016, Windows 2012 R2, Windows 10, Windows 8, Windows 7 (64 and 32 bit)

It is also known to work on other Linux distributions and Windows versions.

Note: The minimum supported Linux kernel version is 2.6.18 and GLIBC version 2.6. LibericaFX works on all supported Ubuntu versions, Red Hat Linux family starting from 7.x and SUSE versions with GTK3 backend.

Supported Embedded configurations

Liberica is tested and certified on Raspberry Pi 2, 3 and 4 running the following OSes:

  • Raspbian OS (armhf)
  • OpenSUSE (armv8)

It is also known to work with Debian (armhf) and Ubuntu (armhf).

Liberica JDK 15.0.1 distribution

Liberica JDK 15 are distributed as .rpm, .zip, .deb and .tar.gz packages. Please select the one which is most appropriate for your purposes.

Liberica 15 introduced all new features supported by OpenJDK 15.

With the introduction of the Jigsaw feature in JDK 9 and Minimal VM it is now possible to create a Runtime that is sufficient to run your application and trim down the size of the Runtime. To generate a Runtime with just the Minimal VM, add --vm=minimal to jlink options.

By default, the Liberica uses Server VM. Server VM and Client VM can be enabled with -server and -client command line options, respectively. In case the deployment requires to minimize the footprint, it may be beneficial to use Minimal VM, which emphasises on a minimal footprint. It has C1 JIT compiler only, Serial GC and no serviceability features.

LibericaFX for the Raspberry Pi

Liberica JDK 15 come with a bundled LibericaFX implementation, which is based on OpenJFX. The following tables lists Java FX modules status of Liberica distribution

  • Java FX Graphics - works.
  • Java FX Controls - works.
  • Java FX Media - does not work.
  • Java FX Webkit - does not work.

The following pipelines are known to work: EGL, SW (direct framebuffer) and GTK. By default, Liberica tries to use the accelerated EGL pipeline, which requires the presence of EGL libraries. If they are not found, the implementation falls back to software rendering.

Use the following command line options to specify the rendering pipeline:

  • -Dprism.order=sw forces the use of software rendering pipeline. *
  • -Dprism.order=es2 forces the use of EGL pipeline and hardware acceleration. *
  • -Djavafx.platform=gtk if you would like to launch a LibericaFX application using Liberica from X11.

* Not supported on Raspberry Pi 4.

Please refer to the following wiki for more information.

Device IO API for the Raspberry Pi

Liberica JDK 15 comes with a bundled OpenJDK Device I/O (DIO) API implementation module. DIO provides a Java API for accessing Raspberry PI GPIO pins and for communicating with peripheral devices:

  • General Purpose Input/Output (GPIO).
  • Inter-Integrated Circuit Bus (I2C), Serial Peripheral Interface (SPI).
  • Universal Asynchronous Receiver/Transmitter (UART).

Please refer to the following wiki for more information.

Security Baselines

BellSoft Liberica follows the security baselines for Oracle Java SE. Please refer to the Oracle documentation for a list of issues fixed in a given release.

Known Issues

LibericaFX and EGL on Raspbian

As of 2017, the default location of Broadcom and has changed in Raspbian OS. If you'd like to leverage hardware EGL acceleration available from Broadcom video drivers in LibericaFX while running a recent Raspbian OS, run the following command:

cd /opt/vc/lib
sudo ln -s
sudo ln -s

Issues fixed

Issue Description
8233624 Enhance JNI linkage
8236196 Improve string pooling
8236862 Enhance support of Proxy class
8237990 Enhanced LDAP contexts
8237995 Enhance certificate processing
8240124 Better VM Interning
8241007 Shenandoah: remove ShenandoahCriticalControlThreadPriority support
8241065 Shenandoah: remove leftover code after JDK-8231086
8241114 Better range handling
8241574 Shenandoah: remove ShenandoahAssertToSpaceClosure
8242680 Improved URI Support
8242685 Better Path Validation
8242695 Enhanced buffer support
8243302 Advanced class supports
8243320 Add SSL root certificates to Oracle Root CA program
8243321 Add Entrust root CA - G4 to Oracle Root CA program
8243470 [macos] bring back O2 opt level for unsafe.cpp
8244136 Improved Buffer supports
8244479 Further constrain certificates
8244955 Additional Fix for JDK-8240124
8245407 Enhance zoning of times
8245412 Better class definitions
8245417 Improve certificate chain handling
8247367 Shenandoah: pacer should wait on lock instead of exponential backoff
8247593 Shenandoah: should not block pacing reporters
8247736 Shenandoah: assert(_nm->is_alive()) failed: only alive nmethods here
8247751 Shenandoah: options tests should run with smaller heaps
8247754 Shenandoah: mxbeans tests can be shorter
8247757 Shenandoah: split heavy tests by heuristics to improve parallelism
8247845 Shenandoah: refactor TLAB/GCLAB retirement code
8247860 Shenandoah: add update watermark line in rich assert failure message
8248041 Shenandoah: pre-Full GC root updates may miss some roots
8248467 C2: compiler/intrinsics/object/TestClone fails with -XX:+VerifyGraphEdges
8248495 [macos] zerovm is broken due to libffi headers location
8248574 Improve jpeg processing
8248632 Shenandoah: build fails without both JVMTI and JFR
8248634 Shenandoah: incorrect include in shenandoahInitLogger.cpp
8248652 Shenandoah: SATB buffer handling may assume no forwarded objects
8248745 Add jarsigner and keytool tests for restricted algorithms
8248987 AOT's seems to eagerly fail-fast on Windows
8249230 Shenandoah: assertion failure with -XX:-ResizeTLAB
8249266 Bump release strings for JDK 15.0.1
8249266 Change jdk 15.0.1 milestone to fcs for build b02
8249649 Shenandoah: provide per-cycle pacing stats
8249672 Include microcode revision in features_string on x86
8249801 Shenandoah: Clear soft-refs on requested GC cycle
8249953 Shenandoah: gc/shenandoah/mxbeans tests should account for corner cases
8250548 libgraal can deadlock in -Xcomp mode
8250582 Revert Principal Name type to NT-UNKNOWN when requesting TGS Kerberos tickets
8250612 jvmciCompilerToVM.cpp declares jio_printf with "void" return type, should be "int"
8250665 Wrong translation for the month name of May in ar_JO,LB,SY
8250841 Shenandoah: need to reset/finish dead counters for StringTable/ResolvedMethodTable during STW root processing
8250844 Make sure ArrayOopDesc accessors check the bounds
8250861 Crash in MinINode::Ideal(PhaseGVN*, bool)
8250876 Fix issues with cross-compile on macos
8251359 Shenandoah: filter null oops before calling enqueue/SATB barrier
8251451 Shenandoah: Remark ObjectSynchronizer roots with I-U
8251859 sun/security/validator/ fails
8251910 Shenandoah: Handshake threads between weak-roots and reset phases