JVMSelector.JVMLocation (install4j API)
Description: declaration: package: com.install4j.api, class: JVMSelector, interface: JVMLocation

Package com.install4j.api

# Interface JVMSelector.JVMLocation

Enclosing class:
  `JVMSelector`

public static interface JVMSelector.JVMLocation
The interface providing information about a JVM.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `File`
  `getJavaHome()`
  Returns the base directory of a Java installation.
  `String`
  `getVersion()`
  Returns the version of the JVM.
  `boolean`
  `isJDK()`
  Returns whether this a JDK installation.

- ## Method Details

  - ### getJavaHome

    File getJavaHome()
    Returns the base directory of a Java installation.
    Returns:
      the JVM's base dir

  - ### getVersion

    String getVersion()
    Returns the version of the JVM.
    Returns:
      the JVM's version

  - ### isJDK

    boolean isJDK()
    Returns whether this a JDK installation.
    Returns:
      true if this a JDK