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