public static enum JavaRuntimeUtils.JreVersion extends Enum<JavaRuntimeUtils.JreVersion>
JRE version as interpreted by the SDK.
Enum Constant and Description |
---|
Java_11
Java 11
|
Java_17
Java 17
|
Java_21
Java 21
|
Java_7
Java 7
|
Java_8
Java 8
|
Java_9
Java 9
|
Unknown
Unknown version, may not be supported.
|
Unsupported
This version of the JRE is not supported.
|
Modifier and Type | Method and Description |
---|---|
static JavaRuntimeUtils.JreVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaRuntimeUtils.JreVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaRuntimeUtils.JreVersion Unsupported
public static final JavaRuntimeUtils.JreVersion Java_7
public static final JavaRuntimeUtils.JreVersion Java_8
public static final JavaRuntimeUtils.JreVersion Java_9
public static final JavaRuntimeUtils.JreVersion Java_11
public static final JavaRuntimeUtils.JreVersion Java_17
public static final JavaRuntimeUtils.JreVersion Java_21
public static final JavaRuntimeUtils.JreVersion Unknown
public static JavaRuntimeUtils.JreVersion[] values()
for (JavaRuntimeUtils.JreVersion c : JavaRuntimeUtils.JreVersion.values()) System.out.println(c);
public static JavaRuntimeUtils.JreVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016–2024. All rights reserved.