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