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