llm-jni-smoke

Validate the Java Native Interface build and test environment for LLM applications.

4|3|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/Arm-Examples/LLM-Runner --skill llm-jni-smoke
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llm-jni-smoke
Source: https://github.com/Arm-Examples/LLM-Runner/tree/main/skills/llm-jni-smoke
Command: npx skills add https://github.com/Arm-Examples/LLM-Runner --skill llm-jni-smoke

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a rapid way to verify the Java Native Interface (JNI) setup and toolchain, ensuring that JNI-related code changes are correctly integrated and functional.

Core Features & Use Cases

  • JNI Toolchain Validation: Quickly tests the build and execution environment for JNI components.
  • Targeted Debugging: Ideal for isolating issues specifically within the JNI layer, especially after modifications to Java or JNI code.
  • Use Case: After updating a JNI library or modifying Java code that interfaces with native components, run this Skill to confirm the integration is sound before proceeding with more extensive testing.

Quick Start

Run the JNI smoke test using the provided CMake presets and build commands.

Frequently Asked Questions about llm-jni-smoke

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

FAQPage Schema
How do I verify my JNI build environment is configured correctly?

A JNI smoke check validates the native interface toolchain by performing a rapid build and running a minimal test suite to ensure Java and native components integrate correctly.

What is the best way to isolate JNI toolchain issues after modifying Java code?

The best way to isolate JNI toolchain issues is to run a targeted JNI smoke test, which confirms that recent modifications to Java or native code are sound before extensive testing.

How do I run a JNI smoke test using CMake presets?

You can run the JNI smoke test by executing the provided CMake presets and build commands to quickly validate the build and execution environment for your JNI components.

When do I need to run a JNI smoke check for LLM applications?

You need to run a JNI smoke check when setting up the JNI environment for LLM applications or after updating a JNI library to confirm the integration is functional before proceeding.

Does the JNI smoke test require any external dependencies?

No, the JNI smoke test operates without external dependencies, relying solely on provided scripts to validate the build and test environment for JNI components.