InstalledJdk (Gradle API 8.11.1)

Package org.gradle.tooling.model.java

## Interface InstalledJdk

-     public interface InstalledJdk

  Represents a Java Development Kit machine installation.
  Since:
    2.11

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.io.File` | `getJavaHome()` | The home directory of the Java installation.
    `JavaVersion` | `getJavaVersion()` | The version of the Java installation.

- - ### Method Detail

    - #### getJavaVersion

          JavaVersion getJavaVersion()

      The version of the Java installation.
      Returns:
        The Java version. Never returns `null`.

    - #### getJavaHome

          java.io.File getJavaHome()

      The home directory of the Java installation.
      Returns:
        The home directory. Never returns `null`.