Package org.gradle.jvm.toolchain

## Interface JavaInstallationMetadata

-     @Incubating
      public interface JavaInstallationMetadata

  Metadata about a Java tool obtained from a toolchain.
  Since:
    6.7
  See Also:
    `JavaLauncher`, `JavaCompiler`, `JavadocTool`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Directory` | `getInstallationPath()` | The path to installation this tool belongs to.
    `JavaLanguageVersion` | `getLanguageVersion()` | Returns the language version of the JVM to which this tool belongs

- - ### Method Detail

    - #### getLanguageVersion

          @Input
          JavaLanguageVersion getLanguageVersion()

      Returns the language version of the JVM to which this tool belongs
      Returns:
        the `JavaLanguageVersion`

    - #### getInstallationPath

          @Internal
          Directory getInstallationPath()

      The path to installation this tool belongs to.

      This value matches what would be the content of `JAVA_HOME` for the given installation.

      Returns:
        the installation path