We are happy to announce the general availability of Liberica Native Image Kit (NIK) version 24.1.0 for JDK 23.
Liberica NIK releases are aligned with GraalVM release schedule. Starting with JDK 20 release in March 2023, GraalVM CE conforms to the six-month JDK release cadence. CPU builds become available four times a year as before.
All Liberica NIK builds contain the latest version of Liberica JDK with fixes and eliminated security issues.
Notable new features and enhancements
Liberica Native Image Kit is based on GraalVM Community Edition and includes many improvements, including:
- A new optimization level
-Os
was added, which enables you to get a smaller native image. - Reachability metadata is now collected into a single reachability-metadata.json file instead of separate reflection-config.json, resource-config.json, etc. files. Creation of separate .json files is deprecated but still accepted.
- SerialGC now performs compact garbage collection for the old generation (enabled with
-H:+CompactingOldGen
), which reduces memory consumption. - A new
--static-nolibc
option was introduced to build mostly static native images. Static native executables can be deployed in distroless containers for additional container image size reduction.
You can find a more detailed description of these and other changes in the Release Notes.
Download the new builds now!
BellSoft strives to provide Java developers with a full stack of secure and affordable technologies suitable for creating a wide range of applications. And thanks to the CPU release cycle, your applications will be secure at all times. Download the latest version of Liberica NIK now!