The full version string for this update release is 16.0.2+7 (OpenJDK 16+7 baseline). The version number is 16.
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.
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.
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 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.
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.
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.
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.
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:
sudo ln -s libbrcmEGL.so libEGL.so
sudo ln -s libbrcmGLESv2.so libGLESv2.so
|JCE doesn't provide any class to handle RSA private key in PKCS#1
|TimeZone getOffset API does not return a dst offset between years 2038-2137
|Disable SHA-1 Signed JARs
|Inconsistent TLS protocol version in debug output
|Remove Telia Company CA certificate expiring in April 2021
|NullPointerException in sun.security.ssl.HKDF.extract(HKDF.java:93)
|Improve bytecode assembly
|Better HTTP transport
|Improve HTTP client support
|OldObjectSample events too expensive
|Improve file transfers
|testlibrary_tests/ctw/JarDirTest.java fails with InvalidPathException on windows
|StartTlsResponse.close() hangs due to synchronization issues
|Potential memory leaks in JVMTI after JDK-8227745
|Don't wrap SocketExceptions into SSLExceptions in SSLSocketImpl
|Update the release version and release date after forking April CPU21_04
|better init AnnotationCollector _contended_group
|Update LogCompilation junit to 4.13.1
|StackOverflowError on open WindowsPreferences
|Improve Font Bounding
|Signs of jarsigner signing
|Better jar file validation
|Follow on to Make lists of normal filenames
|Kitchensink24HStress.java crashed with EXCEPTION_ACCESS_VIOLATION
|SIGSEGV at MethodIteratorHost
|No data buffering in SunPKCS11 Cipher encryption when the underlying mechanism has no padding
|Test test/hotspot/jtreg/gc/parallel/TestDynShrinkHeap.java killed by Linux OOM Killer
|JCK test api/javax_crypto/EncryptedPrivateKeyInfo/Ctor4.html is failing with assertion error when assertions enabled
|IfNode::fold_compares_helper faces non-canonicalized bool when running JRuby JSON workload
|gtest/GTestWrapper.java vmErrorTest.unimplemented1_vm_assert failed
|DST starts from incorrect time in 2038
|C2: Out-of-Bounds Array Load from Clone Source
|Update GStreamer to version 1.18.3
|Update glib to version 2.66.7
|Enhance XML processing passes
|Enhanced data transfers
|Enhanced rules for zones
|DragAndDrop hangs on Windows
|Enhance String Conclusions
|Native crash in Win32PrintServiceLookup.getAllPrinterNames()
|(fs) FileStore.supportsFileAttributeView might return false negative in case of ext3
|Improve Zip file support
|Remove Shenandoah leftovers from ReferenceProcessor
|Exclude some failing tests from security/infra/java/security/cert/CertPathValidator
|Enhance String Conclusions
|C4530 was reported from VS 2019 at access bridge
|Watch registry changes for remote printers update instead of polling
|Uninitialized Method* variables after JDK-8233913
|Possible NULL dereference in Arena::destruct_contents()
|Possible NULL dereference in fast path arena free if ZapResourceArea is true
|Consolidate POSIX code for runtime exit support: os::shutdown, os::abort and os::die
|C2: JVMS not cloned when needs_clone_jvms() is true
|CDS: java/lang/ModuleLayer.EMPTY_LAYER should be singleton
|Duplicate global variable 'jvm' in libjavajpeg and libawt
|Enhance compiler validation
|Shenandoah: Remove leftover parallel reference processing argument
|Improve NTLM support
|[macos] All Swing/AWT apps cause Allow Notifications prompt to appear when app is launched
|JarFile.getInputStream not validating invalid signed jars
|Update the milestone for JDK16.0.2
|Shenandoah: Shenandoah heap region count could be off by 1
|doc/building.md should mention homebrew install freetype
|Enable AIX build platform to make external debug symbols
|Update milestone to fcs for jdk16.0.2+4
|assert root method not found in witnessed_reabstraction_in_supers is too strong
|Shenandoah: Round up region size to page size unconditionally
|[BACKOUT] JDK-8196415 Disable SHA-1 Signed JARs
|sun/hotspot/whitebox/CPUInfoTest.java fails on Ice Lake
|[macos_aarch64] InterpreterRuntime::throw_pending_exception messing up LR results in crash
|VM crashes during dumping classlist with -Xshare:dump option
|PhaseStringOpts::int_stringSize doesn't handle min_jint correctly
|SIGSEGV in get_current_contended_monitor
|Wrong GA date in JDK 11.0.12 and 16.0.2 versions