The full version string for this update release is 16.0.1+9 (OpenJDK 16+7 baseline). The version number is 16.
Liberica JDK 16.0.1+9
Liberica is a certified, Java SE 16-compliant distribution of OpenJDK 16 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, Windows ARMv8, Mac, Linux x86_64, Linux x86 and Linux ARMv7 distributions contain OpenJFX 16.
-
Linux ARMv7 distribution contains Device IO API compiled for Raspberry Pi.
Please refer to the Oracle JDK 16 release notes for further information on JDK 16 features. This document further outlines the peculiarities of Liberica distribution as compared to Oracle JDK 16 distribution.
Supported Server and Desktop configurations
Liberica is supported on the following OSes:
-
Ubuntu Linux 16.04, 18.04, 20.04 (x86, x86_64, ARMv7, ARMv8)
-
Debian Linux 8, 9, 10 (x86, x86_64, ARMv7, ARMv8)
-
Red Hat, Oracle Linux and CentOS 6.x, 7.x (x86, x86_64, ARMv7, 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 16 distribution
Liberica JDK 16 are distributed as .rpm, .zip, .deb and .tar.gz packages. Please select the one which is most appropriate for your purposes.
Liberica 16 introduced all new features supported by OpenJDK 16.
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.
Liberica JDK continues to provide support for AOT and Graal JIT. Since in OpenJDK 16 builds these features are deemed experimental and deprecated, it is recommended to compile native executables with Liberica Native Image Kit to avoid errors.
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 16 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 16 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 |
---|---|
JDK-7146776 | deadlock between URLStreamHandler.getHostAddress and file.Handler.openconnection |
JDK-8198540 | Dynalink leaks memory when generating type converters |
JDK-8204568 | Relative CSS-Attributes don’t work all time |
JDK-8226810 | Failed to launch JVM because of NullPointerException occured on System.props |
JDK-8228363 | ContextMenu.show with side=TOP does not work the first time in the presence of CSS |
JDK-8239589 | JavaFX UI will not repaint after reconnecting via Remote Desktop |
JDK-8241372 | Several test failures due to javax.net.ssl.SSLException: Connection reset |
JDK-8244473 | Contextualize registration for JNDI |
JDK-8244543 | Enhanced handling of abstract classes |
JDK-8248126 | JavaFX ignores HiDPI scaling settings on some linux platforms |
JDK-8249737 | java.lang.RuntimeException: Too many touch points reported |
JDK-8249867 | xml declaration is not followed by a newline |
JDK-8249906 | Enhance opening JARs |
JDK-8250568 | Less ambiguous processing |
JDK-8251944 | Add Shenandoah test config to compiler/gcbarriers/UnsafeIntrinsicsTest.java |
JDK-8252099 | JavaFX does not render Myanmar script correctly |
JDK-8252883 | AccessDeniedException caused by delayed file deletion on Windows |
JDK-8252971 | WindowsFileAttributes does not know about Unix domain sockets |
JDK-8253368 | TLS connection always receives close_notify exception |
JDK-8253409 | Double-rounding possibility in float fma |
JDK-8253702 | BigSur version number reported as 10.16, should be 11.nn |
JDK-8253799 | Make lists of normal filenames |
JDK-8253910 | UseCompressedClassPointers depends on UseCompressedOops in vmError.cpp |
JDK-8254836 | Cherry pick GTK WebKit 2.30.3 changes |
JDK-8256215 | Shenandoah: re-organize saving/restoring machine state in assembler code |
JDK-8256283 | IndexOutOfBoundsException when sorting a TreeTableView |
JDK-8256421 | Add 2 HARICA roots to cacerts truststore |
JDK-8257001 | Improve HTTP client support |
JDK-8257513 | C2: assertconstant_addr - _masm.code()→consts()→start( == con.offset()) |
JDK-8257746 | Regression introduced with JDK-8250984 - memory might be null in some machines |
JDK-8258077 | Using -Xcheck:jni can lead to a double-free after JDK-8193234 |
JDK-8258243 | C2: assert failed (“Bad derived pointer”) with -XX:+VerifyRegisterAllocator |
JDK-8258247 | Couple of issues in fix for JDK-8249906 |
JDK-8258457 | testlibrary_tests/ctw/JarDirTest.java fails with InvalidPathException on windows |
JDK-8258471 | “search codecache” clhsdb command does not work |
JDK-8258490 | Shenandoah: Full GC does not need to remark threads and drain SATB buffers |
JDK-8258534 | Epsilon: clean up unused includes |
JDK-8258909 | update jdk16u jcheck conf |
JDK-8258946 | Fix optimization-unstable code involving signed integer overflow |
JDK-8259048 | (tz) Upgrade time-zone data to tzdata2020f |
JDK-8259049 | Uninitialized variable after JDK-8257513 |
JDK-8259231 | Epsilon: improve performance under contention during virtual space expansion |
JDK-8259339 | AllocateUninitializedArray C2 intrinsic fails with void.class input |
JDK-8259392 | Zero error reporting is broken after JDK-8255711 |
JDK-8259428 | AlgorithmId.getEncodedParams() should return copy |
JDK-8259446 | runtime/jni/checked/TestCheckedReleaseArrayElements.java fails with stderr not empty |
JDK-8259451 | Zero: skip serviceability/sa tests, set vm.hasSA to false |
JDK-8259576 | Misplaced curly brace in Matcher::find_shared_post_visit |
JDK-8259580 | Shenandoah: uninitialized label in VerifyThreadGCState |
JDK-8259619 | C1: 3-arg StubAssembler::call_RT stack-use condition is incorrect |
JDK-8259620 | Bump release strings for JDK 16.0.1 |
JDK-8259628 | jdk/net/ExtendedSocketOption/AsynchronousSocketChannelNAPITest.java fails intermittently |
JDK-8259633 | compiler/graalunit/CoreTest.java fails with NPE after JDK-8244543 |
JDK-8259635 | Update to 610.2 version of WebKit |
JDK-8259679 | GitHub actions should use MSVC 14.28 |
JDK-8259680 | Need API to query states of CAPS LOCK and NUM LOCK keys |
JDK-8259706 | C2 compilation fails with assert(vtable_index == Method::invalid_vtable_index) failed: correct sentinel value |
JDK-8259773 | Incorrect encoding of AVX-512 kmovq instruction |
JDK-8259777 | Incorrect predication condition generated by ADLC |
JDK-8259849 | Shenandoah: Rename store-val to IU-barrier |
JDK-8259949 | x86 32-bit build fails when -fcf-protection is passed in the compiler flags |
JDK-8259954 | gc/shenandoah/mxbeans tests fail with -Xcomp |
JDK-8260009 | InstanceKlass::has_as_permitted_subclass() fails if subclass was redefined |
JDK-8260010 | UTF8ZipCoder not thread-safe since JDK-8243469 |
JDK-8260029 | aarch64: fix typo in verify_oop_array |
JDK-8260048 | Shenandoah: ShenandoahMarkingContext asserts are unnecessary |
JDK-8260163 | IrresponsiveScriptTest.testInfiniteLoopInScript unit test fails on Windows |
JDK-8260165 | CSSFilterTest.testCSSFilterRendering system test fails |
JDK-8260257 | [Linux] WebView no longer reacts to some mouse events |
JDK-8260338 | Some fields in HaltNode is not cloned |
JDK-8260349 | Cannot programmatically retrieve Metaspace max set via JAVA_TOOL_OPTIONS |
JDK-8260356 | (tz) Upgrade time-zone data to tzdata2021a |
JDK-8260380 | Upgrade to LittleCMS 2.12 |
JDK-8260570 | Updating RE Configs for BUILD REQUEST 16.0.1+2 |
JDK-8260592 | jpackage tests fail when Desktop is not supported |
JDK-8260864 | ProblemList two security/krb5 tests on Linux |
JDK-8260933 | runtime/cds/serviceability/ReplaceCriticalClassesForSubgraphs.java fails without CompactStrings |
JDK-8260934 | java/lang/StringBuilder/HugeCapacity.java fails without Compact Strings |
JDK-8261022 | Fix incorrect result of Math.abs() with char type |
JDK-8261170 | Upgrade to freetype 2.10.4 |
JDK-8261183 | Follow on to Make lists of normal filenames |
JDK-8261209 | isStandalone property: remove dependency on pretty-print |
JDK-8261231 | Windows IME was disabled after DnD operation |
JDK-8261251 | Shenandoah: Use object size for full GC humongous compaction |
JDK-8261261 | The version extra fields needs to be overridable in jib-profiles.js |
JDK-8261310 | PPC64 Zero build fails with ‘VMError::controlled_crash(int)::FunctionDescriptor functionDescriptor’ has incomplete type and cannot be defined |
JDK-8261334 | NMT: tuning statistic shows incorrect hash distribution |
JDK-8261397 | Try Catch Method Failing to Work When Dividing An Integer By 0 |
JDK-8261413 | Shenandoah: Disable class-unloading in I-U mode |
JDK-8261460 | Incorrect CSS applied to ContextMenu on DialogPane |
JDK-8261483 | jdk/dynalink/TypeConverterFactoryMemoryLeakTest.java failed with “AssertionError: Should have GCd a method handle by now” |
JDK-8261522 | [PPC64] AES intrinsics write beyond the destination array |
JDK-8261585 | Restore HandleArea used in Deoptimization::uncommon_trap |
JDK-8261752 | Multiple GC test are missing memory requirements |
JDK-8261753 | Test java/lang/System/OsVersionTest.java still failing on BigSur patch versions after JDK-8253702 |
JDK-8261758 | [TESTBUG] gc/g1/TestGCLogMessages.java fails if ergonomics detect too small InitialHeapSize |
JDK-8261779 | JCK test api/javax_crypto/EncryptedPrivateKeyInfo/Ctor4.html is failing with assertion error when assertions enabled |
JDK-8261860 | Crash caused by lambda proxy class loaded in Shutdown hook |
JDK-8261912 | Code IfNode::fold_compares_helper more defensively |
JDK-8261927 | WebKit build fails with Visual Studio 2017 |
JDK-8262018 | Wrong format in SAP copyright header of OsVersionTest |
JDK-8263968 | CDS: java/lang/ModuleLayer.EMPTY_LAYER should be singleton |
JDK-8264536 | Building OpenJFX on Apple AARCH64 not possible |