Package org.gradle.tooling.model.java
Interface JavaRuntime
public interface JavaRuntime
Represents a Java virtual machine installation.
- Since:
- 2.11
- 
Method SummaryModifier and TypeMethodDescriptionThe home directory of the Java runtime installation.The Java version of the Java runtime installation.
- 
Method Details- 
getJavaVersionJavaVersion getJavaVersion()The Java version of the Java runtime installation.- Returns:
- The Java version. Never returns null.
 
- 
getJavaHomeFile getJavaHome()The home directory of the Java runtime installation.- Returns:
- The home directory. Never returns null.
 
 
-