Building Native ImageBLOCK
GraalVM compiles applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
Overview
GraalVM compiles applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
3d75dfee24b3OBSERVED · 2026-10-03What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
--- name: building-native-image description: Build and troubleshoot GraalVM Native Image applications. Use this skill to build Java applications with GraalVM Native Image, configure CLI options, or resolve build or runtime issues. --- # Building Native Image ## Prerequisites - Set `JAVA_HOME` to a GraalVM distribution if your Java program uses the Native Image SDK. If you do not know the path, ask the user to provide it. ## Build and Run 1. Compile your Java file with `javac`. 2. Build the Native Image: ```bash $JAVA_HOME/bin/native-image <app-name> ``` 3. Run the resulting executable: ```bash ./app-name ``` 4. If Native Image cannot find your class file, set the classpath explicitly with the `-cp` option. ## Troubleshooting ### Reachability Metadata If you encounter runtime errors related to reflection, JNI, resources, serialization, or dynamic proxies, consult [`references/reachability-metadata.md`](references/reachability-metadata.md) before attempting a fix. Use this reference for: - `NoClassDefFoundError` or `MissingReflectionRegistrationError` - `MissingJNIRegistrationError` - `MissingResourceException` (missing resource bundle) - Any user question about reflection, JNI, proxies, resources, resource bundles, or serialization in Native Image. ## Native Image Options To configure classpath, optimization level, output name, platform target, monitoring, or other CLI flags, see [`references/native-image-options.md`](references/native-image-options.md). ## Reference Files | Topic | File | |-------|------| | Native Image CLI options | [references/native-image-options.md](references/native-image-options.md) | | Missing reachability metadata | [references/reachability-metadata.md](references/reachability-metadata.md) |
Trust audit
BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | WARN |
| L1 | Static analysis of the code | NA |
| L2 | Instruction surface (what it tells the agent) | FAIL |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (5)
# Building Native Image
web-image/mx.web-image/eclipse-settings
Gates applied: no_behavioural_pass.
3d75dfee24b3full audit observations/trust-audit/skill/oracle__building-native-image.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-03 | 3d75dfee24b3 | BLOCK | D | 69 | first audit |
Questions
What does the Building Native Image skill do?
GraalVM compiles applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
Is Building Native Image safe to install?
No — not without reading the findings first. The audit graded it D (69/100) and found 4 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What can Building Native Image access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (3d75dfee24b3), read on 2026-10-03. The repository is watched, and a new audit runs when it changes — this is the first audit.