Download Center Liberica Native Image Kit

Download Liberica Native Image Kit, a multilingual tool to create highly-performant native binaries from applications written for JVM.

DownloadLiberica Native Image Kit

Pick a version, package type, JDK/JRE, and download the binaries.

Native Image Kit 22.3.4+1 (Java 11.0.21+10)

    64 bit

  • Windows
    Package:
    Core

    Liberica Native Image Kit Core 22.3.4+1 x86 64 bit Windows

  • macOS
    Package:
    Core

    Liberica Native Image Kit Core 22.3.4+1 x86 64 bit macOS

  • Linux
    Package:
    Core

    Liberica Native Image Kit Core 22.3.4+1 x86 64 bit Linux

  • Alpine Linux
    Package:
    Core

    Liberica Native Image Kit Core 22.3.4+1 x86 64 bit Alpine Linux

Other ways to install Liberica Native Image Kit

Frequently asked questions

Liberica Native Image Kit

01. What does Liberica Native Image Kit do?

NIK compiles JVM-based applications into platform native executables with the ahead-of-time compiler.

02. Why should I use the Liberica Native Image Kit?

Native images created with NIK have several advantages over JVM applications:

  • Almost instant startup time;
  • Optimized resource consumption and smaller static footprint;
  • Does not require JVM for execution;
  • Compatibility with multiple programming languages, like Kotlin, Scala, Apache Groovy and others.

03. What Java versions are supported by NIK?

Two latest Java LTS versions, Java 11 and Java 17, are supported by Liberica NIK.

04. What configurations are supported by NIK?

NIK works on Windows, Linux (including Alpine), macOS installed on machines with both x86, x64, and ARM CPUs (Linux only). YOu can use both glibc and musl.

05. Does Liberica NIK work with containers?

Yes. There are a few ways to execute containerized applications with Liberica NIK. It enhances such apps with less RAM consumption, ease of communication, and high running speed.

06. What is a native image?

Native image is the executable binary file that contains your application, all its dependencies, and runtime components, allowing you to run your Java program on any supported configuration without the need for installing runtime or any setup. Native image is the easiest way to distribute your program and start it up faster.

GraalVM

01. What is GraalVM in NIK used for?

GraalVM is the open source virtual machine based on Java HotSpot VM, and integrates an optimizing just-in-time (JIT) compiler, written in Java. At run time, an application is loaded and executed normally by the JVM. Liberica Native Image Kit adds these advantages to the native image technology with an ahead-of-time compiler and Liberica JDK to help with creating fastest and smallest native images.

02. Does GraalVM and NIK support JavaFX?

Yes, but only if you choose to utilize the NIK-full build of Liberica Native Image Kit. The media and web functions of JavaFX are not fully implemented. That means that native images created with Liberica JDK will run JavaFX-based applications in case they don’t utilize media and web functionality.

03. How to fix the “error: invalid active developer path”?

Remove the quarantine attribute from the bits. Run the following:

sudo xattr -r -d com.apple.quarantine /Library/Java/LibericaNativeImageKit

04. How to avoid GraalVM issues on macOS Catalina and later?

If you get this error try running:

xcode-select --install

If it does not help try

sudo xcode-select --reset

Thank you for choosing Liberica Native Image Kit!

View our support options

View our support options

Learn more
Get acquainted with services

Get acquainted with services

Learn more
Check out frequently updated blog

Check out frequently updated blog

Learn more