# runtime-kit 1.0 > Plan a Java application for the JVM or a native executable. Each page below is Markdown; the HTML page of the same name has the same content. llms-full.txt has every page in one file, and api.json is the apidocs/1 model. ## When to use this Use this API reference when you write, read or review code that uses runtime-kit 1.0. Plan a Java application for the JVM or a native executable. ## Overview - [runtime-kit](index.md): packages and types - [llms-full.txt](llms-full.txt): every page in one file - [api.json](api.json): the apidocs/1 model ## Guides Read these first: they explain the concepts the reference pages assume. - [Write a preparation step](guides/custom-step.md): Use the generic extension point to derive a launch command. - [Prepare your first build](guides/prepare-a-build.md): Create an immutable plan, select a runtime, and handle validation errors. ## Pages - [Package example.runtime](example/runtime/index.md): Plans Java applications for a local JVM or native executable. - [BuildPlan (record in example.runtime)](example/runtime/BuildPlan.md): Describes how to build a Java application as a native executable. mainClass: the fully qualified entry point arguments: compiler arguments in invocation order BuildPlan(String, List): Creates a plan with a stable copy of the arguments. defaults(String): Returns a plan for the entry point using default compiler settings. Returns a plan with an empty argument list toString(): Returns a string containing the record class name and its component names and values. hashCode(): Returns a hash code computed from the record components. equals(Object): Returns whether the other object is a record of the same class with equal components. mainClass(): the fully qualified - [BuildStep (interface in example.runtime)](example/runtime/BuildStep.md): A named phase in the preparation of a BuildPlan. prepare(BuildPlan): Prepares an artifact without executing the application. Returns the prepared artifact Throws PlanException if the configuration cannot be prepared - [Experimental (annotation interface in example.runtime)](example/runtime/Experimental.md): Marks a runtime API whose contract may evolve before the next release. since(): The version in which the experiment began. - [PlanException (exception in example.runtime)](example/runtime/PlanException.md): Indicates that a BuildPlan cannot be prepared. PlanException(String): Creates a failure with an explanation suitable for the build log. - [Planner (sealed abstract class in example.runtime)](example/runtime/Planner.md): Validates a BuildPlan before handing it to a BuildStep. target(): Identifies the runtime for prepared plans. Returns the selected target prepare(BuildPlan): Validates that the plan names an entry point. Returns the validated plan Throws PlanException when the entry point is blank - [Planner.Local (class in example.runtime)](example/runtime/Planner.Local.md): Prepares builds against a locally installed toolchain. Local(Planner.Options): Uses explicit planning options. Local(Target): Uses the supplied target with quiet progress. target(): Identifies the runtime for prepared plans. Returns the selected target runtime(): Deprecated. Use target(). Returns the configured runtime. Returns the selected target - [Planner.Options (record in example.runtime)](example/runtime/Planner.Options.md): Configuration for Local, including how to report progress. target: the runtime detail: the amount of progress to report toString(): Returns a string containing the record class name and its component names and values. hashCode(): Returns a hash code computed from the record components. equals(Object): Returns whether the other object is a record of the same class with equal components. target(): the runtime detail(): the amount of progress to report - [Planner.Options.Detail (enum class in example.runtime)](example/runtime/Planner.Options.Detail.md): Controls progress while preparing a plan. QUIET: Report only the result. VERBOSE: Include each preparation step. values(): Returns the enum constants in declaration order. valueOf(String): Returns the enum constant with the given name. - [Target (enum class in example.runtime)](example/runtime/Target.md): Selects the runtime that will consume a BuildPlan. JVM: Use the installed Java virtual machine. NATIVE: Compile an operating-system executable. values(): Returns the enum constants in declaration order. valueOf(String): Returns the enum constant with the given name. ## Indexes - [Packages](packages.md): every package with its summary and type counts - [All types](types.md): every type, nested ones too, by name - [Index](index-all.md): every declaration from A to Z - [Deprecated](deprecated.md): everything deprecated, for removal first