| Modifier and Type | Field and Description |
|---|---|
| public static final JavaVersion | |
| private static final JavaVersion | |
| public static final JavaVersion |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static JavaVersion | |
| public static JavaVersion | Returns: enum value that represents current runtime.Returns enum value that represents current runtime. |
| public static JavaVersion | |
| public static JavaVersion[] |
| other | back to summary |
|---|---|
| public static final JavaVersion other | |
| RUNTIME_VERSION | back to summary |
|---|---|
| private static final JavaVersion RUNTIME_VERSION | |
| v1_8 | back to summary |
|---|---|
| public static final JavaVersion v1_8 | |
| JavaVersion | back to summary |
|---|---|
| private JavaVersion() | |
| from | back to summary |
|---|---|
| public static JavaVersion from(String version) Java version string like in
| |
| getRuntimeVersion | back to summary |
|---|---|
| public static JavaVersion getRuntimeVersion() Returns enum value that represents current runtime. For instance, when using -jre7.jar via Java 8, this would return v18
| |
| valueOf | back to summary |
|---|---|
| public static JavaVersion valueOf(String name) | |
| values | back to summary |
|---|---|
| public static JavaVersion[] values() | |