public static class JREVersionDetector.JREConfig extends Object
Modifier and Type | Field and Description |
---|---|
short |
arch
The JRE architecture.
|
static short |
INVALID_NOT_FOUND
The state for an invalid JRE configuration, in the case where the JRE executable is not found.
|
static short |
INVALID_TIMEOUT
The state for an invalid JRE configuration, in the case where the JRE coulkd not be started (timeout).
|
static short |
VALID
The state for a valid JRE configuration.
|
String |
version
The JRE version.
|
Modifier and Type | Method and Description |
---|---|
short |
getValidity()
Return the validity of the configuration.
|
public static final short VALID
public static final short INVALID_NOT_FOUND
public static final short INVALID_TIMEOUT
public final String version
public final short arch
JREVersionDetector.ARCH_32BIT
, JREVersionDetector.ARCH_64BIT
, or -1 if the architecture is not found.