Version
- 22.2 Release
- 22.1 Release
- 22.0 Release
- 21.3 Release
- Dev Build
- Native Image
- How-to Guides
- Access Environment Variables
- Add Logging to a Native Executable
- Build and Run Native Executables with JFR
- Build Java Modules into a Native Executable
- Build a Micronaut Application into a Native Executable
- Build a Spring Boot Application into a Native Executable
- Build a Polyglot Native Executable
- Build a Native Shared Library
- Build a Statically Linked or Mostly-Statically Linked Native Executable
- Build with Reflection
- Containerise a Native Executable and Run in a Docker Container
- Create a Heap Dump
- Debug Native Executables with GDB
- Include Resources in a Native Executable
- Optimize a Native Executable with PGO
- Use GraalVM Dashboard to Optimize the Size of a Native Executable
- Use Native Image Gradle Plugin
- Use Native Image Maven Plugin
- Use Shared Reachability Metadata with Native Image Gradle Plugin
- Use System Properties
- Native Image Basics
- Build Overview
- Reachability Metadata
- Optimizations and Performance
- Debugging and Diagnostics
- Dynamic Features
- Interoperability with Native Code
- LLVM Backend
- Workshops and Labs
- Contributing
Native Image How-to Guides
These guides are to help developers get started with GraalVM Native Image, acquaint them with the available features, and describe potential usage scenarios. Here you will learn how to:
- Access Environment Variables
- Add Logging to a Native Executable
- Build and Run Native Executables with JFR
- Build Java Modules into a Native Executable
- Build a Micronaut Application into a Native Executable
- Build a Native Shared Library
- Build a Polyglot Native Executable (Java and JavaScript)
- Build a Spring Boot Application into a Native Executable
- Build a Static or Mostly-Static Native Executable
- Build a Native Executable with Reflection
- Containerise a Native Executable and Run in a Docker Container
- Create a Heap Dump from a Native Executable
- Debug Native Executables with GDB
- Include Resources in a Native Executable
- Optimize a Native Executable with Profile-Guided Optimizations
- Use GraalVM Dashboard to Optimize the Size of a Native Executable
- Use Gradle to Build a Native Executable from a Java Application
- Use Maven to Build a Native Executable from a Java Application
- Use Shared Reachability Metadata with Native Image Gradle Plugin
- Use System Properties in a Native Executable
Note: To follow these guides, a user is expected to have GraalVM installed with Native Image support.