Liberica JDK 13.0.2 for Embedded Release Notes

The full version string for this update release is 13.0.2+9. The version number is 13.0.2.

Liberica JDK 13.0.2 for Embedded

Liberica is a certified, Java SE 13.0.2-compliant distribution of OpenJDK 13.0.2 which works on embedded devices (Linux ARM64, Linux ARMv7, including Raspberry Pi 2 & 3 (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.
  • Linux ARMv7 distribution contains Device IO API compiled for Raspberry Pi.

Please refer to the Oracle JDK 13.0.2 release notes for further information on JDK 13.0.2 features. This document further outlines the peculiarities of Liberica distribution as compared to Oracle JDK 11 distribution.

Supported Embedded configurations

Liberica is tested and certified on Raspberry Pi 2 & 3 running the following OSes:

  • Raspbian OS (armhf)
  • OpenSUSE (armv8)

It is also known to work with Debian (armhf) and Ubuntu (armhf).

Liberica JDK 13.0.2 distribution

Liberica JDK 13.0.2 for Embedded are distributed as .rpm, .deb and .tar.gz packages. Please select the one which is most appropriate for your purposes.

Liberica 13.0.2 introduced all new features supported by OpenJDK

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.

LibericaFX for the Raspberry Pi

Liberica JDK 13.0.2 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.

Please refer to the following wiki for more information.

Device IO API for the Raspberry Pi

Liberica JDK 13.0.2 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 and 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
sudo ln -s

Issues fixed

Issue Description
8167148 Add native rendering support by supporting WritableImages backed by NIO ByteBuffers
8209086 Some javafx.web files are missing GPLv2+Classpath copyright header
8209178 Proxied HttpsURLConnection doesn't send BODY when retrying POST request
8209938 Default and Cancel button cause memory leak
8213119 [macos] java/awt/GraphicsDevice/ fails
8221377 Fix mistakes in FX API docs
8222912 Websocket client doesn't work in WebView
8223760 support static builds
8224636 CSS "pointer-events" property "stroke" is not respected for SVG renderings
8224909 Unlink Set of LinkedHashSets
8225261 Better method resolutions
8225279 Better XRender interpolation
8226352 Improve Kerberos interop capabilities
8226782 Update copyright header for files modified in 2019
8226789 Path rendered incorrectly when it goes outside the clipping region
8227431 [Windows] Fix assertion failure on X86 32-bit when enabling CLOOP based JavaScript interpreter
8227473 Improve gstreamer media support
8227757 re-create 'ga' mercurial tags for CPU19_10 respin
8227758 More valid PKIX processing
8227816 More Colorful ICC profiles
8228548 Normalize normalization for all
8229328 [windows] PlatformFileHandle type should be JGObject rather than void *
8229728 Implement negotiation parameters
8229890 WritableImage update fails for empty region
8229951 Better Ticket Granting Services
8230279 Improve Pack200 file reading
8230318 Better trust store usage
8230361 [web] Cookies are not enabled in WebKit v608.1
8230869 [macos 10.15] The String "X Y Z" was not set to application's icon in the taskbar
8230967 Improve Registry support of clients
8231129 More glyph images
8231134 Improved credential support
8231139 Improved keystore support
8231403 [ppc]: Align ReservedCodeCacheSize default value with other platforms
8231422 Better serial filter handling
8231780 Better TLS messaging support
8231790 Provide better FileSystemProviders
8231991 Mouse wheel change focus on awt/swing windows
8232005 [s390, PPC64] More exception checks missing in interpreter
8232019 Add LuxTrust certificate updates to the existing root program
8232051 Epsilon should warn about Xms/Xmx/AlwaysPreTouch configuration
8232106 [x86] C2: SIGILL due to usage of SSSE3 instructions on processors which don't support it
8232121 Better numbering system
8232128 Better formatting for numbers
8232214 Improved internal validations
8232419 Improve Registry registration
8232984 Upgrading Joni License version to 2.1.16
8233202 exclude javax/swing/plaf/basic/BasicGraphicsUtils/8132119/
8233219 NMT output on AIX misses some categories
8233223 Add Amazon Root CA certificates
8233886 TEST_BUG jdk/java/net/CookieHandler/ hit hardcoded expiration date
8234037 Improve Object Identifier Processing
8234107 Several AWT modal dialog tests failing on Linux after JDK-8231991
8234245 sun/security/lib/cacerts/ fails due to wrong checksum