Liberica JDK 15.0.2+10 Release Notes

The full version string for this update release is 15.0.2+10 (OpenJDK 15.0.2+7 baseline). The version number is 15.

Liberica JDK 15.0.2+10

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.2 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, 20.04 (x86, x86_64, ARMv8)
  • Debian Linux 8, 9, 10 (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.2 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 libEGL.so and libGLESv2.so 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 libbrcmEGL.so libEGL.so
sudo ln -s libbrcmGLESv2.so libGLESv2.so

Issues fixed

Issue Description
8197981 Missing return statement in __sync_val_compare_and_swap_8
8232114 JVM crashed at imjpapi.dll in native code
8239105 Add exception for expiring Digicert root certificates to VerifyCACerts test
8247251 Assert ‘(_pcs_length == 0 || last_pc()->pc_offset() < pc_offset) failed: must specify a new, larger pc offset’ failure
8247619 Improve Direct Buffering of Characters
8247741 Test test/hotspot/jtreg/runtime/7162488/TestUnrecognizedVmOption.java fails when -XX:+IgnoreUnrecognizedVMOptions is set
8248411 [aarch64] Insufficient error handling when CodeBuffer is exhausted
8248596 [TESTBUG] compiler/loopopts/PartialPeelingUnswitch.java times out with Graal enabled
8248667 Need support for building native libraries located in the test/lib directory
8249165 Remove unneeded nops introduced by 8234160 changes
8249176 Update GlobalSignR6CA test certificates
8249183 JVM crash in “AwtFrame::WmSize” method
8249192 MonitorInfo stores raw oops across safepoints
8249217 Unexpected StackOverflowError in “process reaper” thread still happens
8249781 AArch64: AOT compiled code crashes if C2 allocates r27
8250257 Bump release strings for JDK 15.0.2
8250928 JFR: Improve hash algorithm for stack traces
8251397 NPE on ClassValue.ClassValueMap.cacheArray
8251458 Parse::do_lookupswitch fails with “assert(_cnt >= 0) failed”
8252120 compiler/oracle/TestCompileCommand.java misspells “occured”
8252292 8240795 may cause anti-dependence to be missed
8252359 HotSpot Not Identifying it is Running in a Container
8252367 Undo JDK-8245000: Windows GDI functions don’t support large pages
8252368 Undo JDK-8245002: Windows GDI functions don’t support NUMA interleaving
8252470 java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java fails on Windows
8252660 Shenandoah: support manageable SoftMaxHeapSize option
8252754 Hash code calculation of JfrStackTrace is inconsistent
8253191 C2: Masked byte comparisons with large masks produce wrong result on x86
8253222 Shenandoah: unused AlwaysTrueClosure after JDK-8246591
8253224 Shenandoah: ShenandoahStrDedupQueue destructor calls virtual num_queues()
8253226 Shenandoah: remove unimplemented ShenandoahStrDedupQueue::verify
8253284 Zero OrderAccess barrier mappings are incorrect
8253375 OSX build fails with Xcode 12.0 (12A7209)
8253566 clazz.isAssignableFrom will return false for interface implementors
8253714 [cgroups v2] Soft memory limit incorrectly using memory.high
8253727 [cgroups v2] Memory and swap limits reported incorrectly
8253756 C2 CompilerThread0 crash in Node::add_req(Node*)
8253778 ShenandoahSafepoint::is_at_shenandoah_safepoint should not access VMThread state from other threads
8253791 Issue with useAppleColor check in CSystemColors.m
8253960 Memory leak in Java_java_lang_ClassLoader_defineClass0()
8254081 java/security/cert/PolicyNode/GetPolicyQualifiers.java fails due to an expired certificate
8254144 Non-x86 Zero builds fail with return-type warning in os_linux_zero.cpp
8254166 Zero: return-type warning in zeroInterpreter_zero.cpp
8254177 (tz) Upgrade time-zone data to tzdata2020b
8254319 Shenandoah: Interpreter native-LRB needs to activate during HAS_FORWARDED
8254320 Shenandoah: C2 native LRB should activate for non-cset objects
8254560 Shenandoah: Concurrent Strong Roots logging is incorrect
8254790 SIGSEGV in string_indexof_char and stringL_indexof_char intrinsics
8254854 [cgroups v1] Metric limits not properly detected on some join controller combinations
8254982 (tz) Upgrade time-zone data to tzdata2020c
8255065 Zero: accessor_entry misses the IRIW case
8255067 Restore Copyright line in file modified by 8253191
8255226 (tz) Upgrade time-zone data to tzdata2020d
8255599 Change jdk 15.0.2 milestone to fcs for build b04
8255603 Memory/Performance regression after JDK-8210985
8256051 nmethod_entry_barrier stub miscalculates xmm spill size on x86_32
8256427 Test com/sun/jndi/dns/ConfigTests/PortUnreachable.java does not work on AIX
8256618 Zero: Linux x86_32 build still fails
8257181 s390x builds are very noisy with gc-sections messages
8257641 Shenandoah: Query is_at_shenandoah_safepoint() from control thread should return false
8257701 Shenandoah: objArrayKlass metadata is not marked with chunked arrays
8257897 Fix webkit build for XCode 12
Back to Downloads PageSupported Configurations
BellSoft LTD [email protected] BellSoft LTD logo Liberica Committed to Freedom 199 Obvodnogo Kanala Emb. 190020 St. Petersburg RU +7 812-336-35-67 BellSoft LTD 199 Obvodnogo Kanala Emb. 190020 St. Petersburg RU +7 812-336-35-67 BellSoft LTD 111 North Market Street, Suite 300 CA 95113 San Jose US +1 702 213-59-59