graalvm-expert

Configure GraalVM Native Image reflection, resource, and proxy settings.

3|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/kinhluan/rules-quarkus-skills --skill graalvm-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graalvm-expert
Source: https://github.com/kinhluan/rules-quarkus-skills/tree/main/.agent-skills/graalvm-expert
Command: npx skills add https://github.com/kinhluan/rules-quarkus-skills --skill graalvm-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the complexities of GraalVM's Ahead-of-Time (AOT) compilation, enabling efficient native binary creation and high-performance polyglot execution.

Core Features & Use Cases

  • Native Image Compilation: Guides users through building optimized native executables.
  • Configuration Management: Assists with reflection, resource, and proxy configurations essential for Native Image.
  • Polyglot Interoperability: Facilitates using GraalVM for seamless integration between Java, JavaScript, Python, and Ruby.
  • Use Case: Troubleshoot a ClassNotFoundException in a GraalVM Native Image by ensuring the necessary reflection-config.json is correctly set up.

Quick Start

Use the graalvm-expert skill to generate a reflection-config.json file for a Java class named com.example.MyDynamicClass.

Frequently Asked Questions about graalvm-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix ClassNotFoundException in GraalVM Native Image?

To fix ClassNotFoundException in GraalVM Native Image, you must configure the necessary reflection-config.json file to explicitly register classes for AOT compilation, ensuring dynamic class loading works correctly.

How do I configure reflection and proxy settings for GraalVM AOT compilation?

Configuring reflection and proxy settings for GraalVM AOT compilation involves generating and applying reflection-config.json and proxy-config.json files to define access permissions for native binary creation.

Can I run Java and JavaScript together using GraalVM polyglot runtime?

Yes, you can run Java and JavaScript together using GraalVM polyglot runtime capabilities, which facilitate seamless cross-language interoperability and multi-language execution within a single JVM environment.

What is GraalVM Native Image AOT compilation used for?

GraalVM Native Image AOT compilation is used for building optimized native executables from Java applications, achieving high performance and fast startup times by compiling code ahead of time.

Why does my Java application fail when building a native executable with GraalVM?

Your Java application might fail building a native executable with GraalVM because AOT compilation requires explicit configuration for dynamic features like reflection, resources, and proxies.