api / org.gradle.tooling.model.java / JavaRuntime

JavaRuntime

interface JavaRuntime

Represents a Java virtual machine installation.

Since
2.11

Functions

getJavaHome

abstract fun getJavaHome(): File

The home directory of the Java runtime installation.

getJavaVersion

abstract fun getJavaVersion(): JavaVersion

* The Java version of the Java runtime installation.