minified-java/com.dervarex.minified.java
JavaInstallation
recordSource
Describes a resolved Java runtime.
The runtime may be the current JVM that is already running the launcher, or a managed installation downloaded on demand for a Minecraft version.
Record components
majorVersionintThe Java feature version, such as 17, 21, or 25
homePathThe runtime home directory
executablePathThe Java executable that should be launched
managedbooleanWhether this runtime was downloaded and managed by JavaManager
releaseNameStringThe vendor release name for managed runtimes, or null for the current JVM
Constructors
public JavaInstallation(
int majorVersion,
Path home,
Path executable,
boolean managed,
String releaseName
)Used by
Methods of other types that accept or return JavaInstallation.