Package org.gradle.tooling.model.java
Interface InstalledJdk
public interface InstalledJdk
Represents a Java Development Kit machine installation.
- Since:
- 2.11
-
Method Summary
Modifier and TypeMethodDescriptionThe home directory of the Java installation.The version of the Java installation.
-
Method Details
-
getJavaVersion
JavaVersion getJavaVersion()The version of the Java installation.- Returns:
- The Java version. Never returns
null
.
-
getJavaHome
File getJavaHome()The home directory of the Java installation.- Returns:
- The home directory. Never returns
null
.
-