posts
Liberica Native Image Kit 
21.3.2 and 22.1.0 builds 
are released

Liberica Native Image Kit 21.3.2 and 22.1.0 builds are released

Apr 28, 2022
Peter Zhelezniakov
3.7

We are happy to announce the general availability of Liberica Native Image Kit (NIK) versions 21.3.2 and 22.1.0. Being part of the security update release cycle, the builds contain a number of fixes and important enhancements.

Liberica Native Image Kit is a GraalVM-based tool that helps to convert JVM-based applications into native executables. Liberica NIK can be a great addition to your project as it minimizes resource consumption, accelerates the startup time of applications, and supports a wide range of platforms and languages. Moreover, the developers using Spring Boot can create native images seamlessly through a Cloud Native Buildpack that includes support for Spring and Liberica NIK.

Summary of fixes and enhancements

  • Linux-AArch64 version now works on Redhat, CentOS, OEL and other Linux distros that have 64K page size.
  • --allow-incomplete-classpath option is deprecated. What it did was basically link at image run time, which is now the default. To link at image build time, use the new --link-at-build-time option. Arguments, when specified, are package names or fully qualified class names. Used without arguments, it requires all classes to be present at image build time.
  • Implemented incremental, concurrent heap scanning during points-to analysis. This makes native image build times shorter.
  • Optimize for Build time (-Ob) option to native-image that performs fewer optimizations, and disables method inlining.
  • Added support for the following JFR events: GarbageCollection, GCPhasePause, SafepointBegin, SafepointEnd, ExecutionSample.
  • A special Feature looks for vulnerable log4j libraries in native images and produces a warning if one is found.

All Liberica NIK builds contain the latest version of Liberica JDK with fixes and eliminated security issues.

Boost your skills in native image technology

If you are only getting acquainted with native images, you can refer to our series of articles that explain how to use Liberica NIK with the most popular Java frameworks:

Conclusion

BellSoft reaffirms its commitment to the goal of providing Java developers with a full stack of secure, performant, and affordable technologies. Liberica Native Image Kit will bring the development at your company to a new level: create tiny efficient containers and enjoy the support from a major OpenJDK contributor. So go ahead and download the latest version of Liberica NIK!

Subcribe to our newsletter

figure

Read the industry news, receive solutions to your problems, and find the ways to save money.

Further reading