Package org.gradle.tooling.model.java
Interface JavaRuntime
-
public interface JavaRuntimeRepresents a Java virtual machine installation.- Since:
- 2.11
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.FilegetJavaHome()The home directory of the Java runtime installation.JavaVersiongetJavaVersion()The Java version of the Java runtime installation.
-
-
-
Method Detail
-
getJavaVersion
JavaVersion getJavaVersion()
The Java version of the Java runtime installation.- Returns:
- The Java version. Never returns
null.
-
getJavaHome
java.io.File getJavaHome()
The home directory of the Java runtime installation.- Returns:
- The home directory. Never returns
null.
-
-