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