Interface JavaRuntime


  • @Incubating
    public interface JavaRuntime
    Represents a Java virtual machine installation.
    Since:
    2.11
    • Method Detail

      • getJavaVersion

        JavaVersion getJavaVersion()
        The Java version of the Java runtime installation.
        Returns:
        The Java version. Never returns null.
      • getJavaHome

        File getJavaHome()
        The home directory of the Java runtime installation.
        Returns:
        The home directory. Never returns null.