---
title: "nativeimage"
kind: "module"
module: "nativeimage"
version: "25.6.0-elide.4"
canonical: "https://graalvm.elide.help/25.6.0-elide.4/api/nativeimage/index.html"
---

# ⬢ nativeimage 25.6.0-elide.4

Every page: [llms.txt](llms.txt), or all in one file: [llms-full.txt](llms-full.txt)

API reference for nativeimage.

## Packages

- [`com.oracle.svm.core.annotate`](com/oracle/svm/core/annotate/index.md): This package contains annotations that configure the substitution mechanism of GraalVM Native Image.
- [`org.graalvm.nativeimage`](org/graalvm/nativeimage/index.md): The GraalVM SDK Native Image API allows to customize the native image generation, i.e., the ahead-of-time compilation of Java code to standalone executables.
- [`org.graalvm.nativeimage.c`](org/graalvm/nativeimage/c/index.md): This package and its sub-packages provide a fast and lightweight interface between Java code and C code.
- [`org.graalvm.nativeimage.c.constant`](org/graalvm/nativeimage/c/constant/index.md): This package provides parts of the Java / C interface that are related to C constants.
- [`org.graalvm.nativeimage.c.function`](org/graalvm/nativeimage/c/function/index.md): This package provides parts of the Java / C interface that are related to C functions.
- [`org.graalvm.nativeimage.c.struct`](org/graalvm/nativeimage/c/struct/index.md): This package provides parts of the Java / C interface that are related to C structures.
- [`org.graalvm.nativeimage.c.type`](org/graalvm/nativeimage/c/type/index.md): This package provides parts of the Java / C interface that are related to standard C pointer types, as well as utility functions to convert between Java types and C types.
- [`org.graalvm.nativeimage.dynamicaccess`](org/graalvm/nativeimage/dynamicaccess/index.md): APIs for registering metadata for dynamic access at run time in Native Image: org.graalvm.nativeimage.dynamicaccess.ReflectiveAccess for reflection and serialization.org.graalvm.nativeimage.dynamicaccess.ResourceAccess for resources.org.graalvm.nativeimage.dynamicaccess.JNIAccess for Java Native Interface (JNI) access.org.graalvm.nativeimage.dynamicaccess.ForeignAccess for foreign function access. Obtain these APIs through org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess during org.graalvm.nativeimage.hosted.Feature.afterRegistration.
- [`org.graalvm.nativeimage.hosted`](org/graalvm/nativeimage/hosted/index.md): The GraalVM SDK Native Image API allows to customize the native image generation, i.e., the ahead-of-time compilation of Java code to standalone executables: org.graalvm.nativeimage.hosted.Features allow clients to intercept the native image generation and run custom initialization code at various stages.org.graalvm.nativeimage.hosted.RuntimeClassInitialization is used to configure when classes are initialized.org.graalvm.nativeimage.hosted.RuntimeReflection to register classes, methods, and fields for reflection at run time.

## Types in `com.oracle.svm.core.annotate`

`Alias`, `AnnotateOriginal`, `Delete`, `Inject`, `InjectAccessors`, `KeepOriginal`, `RecomputeFieldValue`, `RecomputeFieldValue.Kind`, `Substitute`, `TargetClass`, `TargetClass.AlwaysIncluded`, `TargetClass.NoClassNameProvider`, `TargetElement`

## Types in `org.graalvm.nativeimage`

`AnnotationAccess`, `CurrentIsolate`, `ImageInfo`, `ImageSingletons`, `Isolate`, `IsolateThread`, `Isolates`, `Isolates.CreateIsolateParameters`, `Isolates.CreateIsolateParameters.Builder`, `Isolates.IsolateException`, `Isolates.ProtectionDomain`, `LogHandler`, `MissingForeignRegistrationError`, `MissingJNIRegistrationError`, `MissingReflectionRegistrationError`, `ObjectHandle`, `ObjectHandles`, `PinnedObject`, `Platform`, `Platform.AARCH64`, `Platform.AMD64`, `Platform.ANDROID`, `Platform.ANDROID_AARCH64`, `Platform.DARWIN`, `Platform.DARWIN_AARCH64`, `Platform.DARWIN_AMD64`, `Platform.HOSTED_ONLY`, `Platform.IOS`, `Platform.IOS_AARCH64`, `Platform.IOS_AMD64`, `Platform.LINUX`, `Platform.LINUX_AARCH64`, `Platform.LINUX_AARCH64_BASE`, `Platform.LINUX_AMD64`, `Platform.LINUX_AMD64_BASE`, `Platform.LINUX_RISCV64`, `Platform.MACOS`, `Platform.MACOS_AARCH64`, `Platform.MACOS_AMD64`, `Platform.RISCV64`, `Platform.WINDOWS`, `Platform.WINDOWS_AARCH64`, `Platform.WINDOWS_AMD64`, `Platforms`, `ProcessProperties`, `RuntimeOptions`, `RuntimeOptions.Descriptor`, `StackValue`, `Threading`, `Threading.RecurringCallback`, `Threading.RecurringCallbackAccess`, `UnmanagedMemory`, `VMRuntime`

## Types in `org.graalvm.nativeimage.c`

`CContext`, `CContext.Directives`, `CHeader`, `CHeader.Header`

## Types in `org.graalvm.nativeimage.c.constant`

`CConstant`, `CConstant.ValueAccess`, `CEnum`, `CEnumConstant`, `CEnumLookup`, `CEnumValue`

## Types in `org.graalvm.nativeimage.c.function`

`CEntryPoint`, `CEntryPoint.AlwaysIncluded`, `CEntryPoint.Builtin`, `CEntryPoint.ExceptionHandler`, `CEntryPoint.FatalExceptionHandler`, `CEntryPoint.IsolateContext`, `CEntryPoint.IsolateThreadContext`, `CEntryPoint.NotIncludedAutomatically`, `CEntryPoint.Publish`, `CEntryPointLiteral`, `CFunction`, `CFunction.Transition`, `CFunctionPointer`, `CLibrary`, `CMacroInfo`, `CodePointer`, `InvokeCFunctionPointer`, `RelocatedPointer`

## Types in `org.graalvm.nativeimage.c.struct`

`AllowNarrowingCast`, `AllowWideningCast`, `CBitfield`, `CField`, `CFieldAddress`, `CFieldOffset`, `CPointerTo`, `CStruct`, `CTypedefOfInfo`, `RawField`, `RawFieldAddress`, `RawFieldOffset`, `RawPointerTo`, `RawStructure`, `SizeOf`, `UniqueLocationIdentity`

## Types in `org.graalvm.nativeimage.c.type`

`CCharPointer`, `CCharPointerPointer`, `CConst`, `CDoublePointer`, `CFloatPointer`, `CIntPointer`, `CIntPointerPointer`, `CLongPointer`, `CShortPointer`, `CTypeConversion`, `CTypeConversion.CCharPointerHolder`, `CTypeConversion.CCharPointerPointerHolder`, `CTypedef`, `CUnsigned`, `VoidPointer`, `WordPointer`

## Types in `org.graalvm.nativeimage.dynamicaccess`

`AccessCondition`, `ForeignAccess`, `JNIAccess`, `ReflectiveAccess`, `ResourceAccess`

## Types in `org.graalvm.nativeimage.hosted`

`Feature`, `Feature.AfterAnalysisAccess`, `Feature.AfterCompilationAccess`, `Feature.AfterHeapLayoutAccess`, `Feature.AfterImageWriteAccess`, `Feature.AfterRegistrationAccess`, `Feature.BeforeAnalysisAccess`, `Feature.BeforeCompilationAccess`, `Feature.BeforeHeapLayoutAccess`, `Feature.BeforeImageWriteAccess`, `Feature.BeforeUniverseBuildingAccess`, `Feature.CompilationAccess`, `Feature.DuringAnalysisAccess`, `Feature.DuringSetupAccess`, `Feature.FeatureAccess`, `Feature.IsInConfigurationAccess`, `Feature.OnAnalysisExitAccess`, `Feature.OnRegistrationAccess`, `Feature.QueryReachabilityAccess`, `FieldValueTransformer`, `RuntimeClassInitialization`, `RuntimeForeignAccess`, `RuntimeJNIAccess`, `RuntimeProxyCreation`, `RuntimeReflection`, `RuntimeResourceAccess`, `RuntimeSerialization`, `RuntimeSystemProperties`
