api / org.gradle.tooling.model.java / JavaRuntime / getJavaHome

getJavaHome

abstract fun getJavaHome(): File

The home directory of the Java runtime installation.

Return
The home directory. Never returns null.