classJavaRuntime#

class JavaRuntime(
component: str,
executable: Path,
)#

An installed Java runtime.

component#

Mojang’s name for the runtime, such as java-runtime-delta.

Type:

str

executable#

The path of the java binary.

Type:

Path