runtime-kit
Plan a Java application for the JVM or a native executable.
Runtime Kit separates the configuration of an application from the tool that prepares it. An immutable BuildPlan holds the entry point and compiler arguments. A Planner.Local validates the plan for the chosen Target.
Start with the preparation guide for a runnable example, or explore the package reference for constructors, extension points, and error handling.
Guides
- Write a preparation step
Use the generic extension point to derive a launch command.
- Prepare your first build
Create an immutable plan, select a runtime, and handle validation errors.
Packages
example.runtime6 types
Plans Java applications for a local JVM or native executable.
public record BuildPlan(…)Describes how to build a Java application as a native executable.
public interface BuildStepA named phase in the preparation of a
BuildPlan.public @interface ExperimentalMarks a runtime API whose contract may evolve before the next release.
public final class PlanExceptionIndicates that a
BuildPlancannot be prepared.public abstract sealed class PlannerValidates a
BuildPlanbefore handing it to aBuildStep.public static final class .LocalPrepares builds against a locally installed toolchain.
public record .Options(…)Configuration for
Local, including how to report progress.
public enum TargetSelects the runtime that will consume a
BuildPlan.