install4j API documentation



com.install4j.api
Interface JVMSelector.JVMLocation

Enclosing class:
JVMSelector

public static interface JVMSelector.JVMLocation

The interface providing information about a JVM.


Method Summary
 java.io.File getJavaHome()
          Returns the base directory of a Java installation.
 java.lang.String getVersion()
          Returns the version of the JVM.
 boolean isJDK()
          Returns whether this a JDK installation.
 

Method Detail

getJavaHome

java.io.File getJavaHome()
Returns the base directory of a Java installation.

Returns:
the JVM's base dir

getVersion

java.lang.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