|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IJREVersion
A constant collection to detect the current JRE version. Note that this code is more sophisticated then a mere check of "java.version" or "java.class.version" and similar system properties because some JVMs allow overriding those by the user (e.g., from the command line). This implementation relies on the core classes only and tries to minimize the number of security-sensitive methods it uses.
This interface is supported in Java 1.1+ and should be compiled with class version stamp 45.3 (-target 1.1).
| Nested Class Summary | |
|---|---|
static class |
IJREVersion._JREVersion
|
| Field Summary | |
|---|---|
static boolean |
JRE_1_2_PLUS
'true' iff the current runtime version is 1.2 or later |
static boolean |
JRE_1_3_PLUS
'true' iff the current runtime version is 1.3 or later |
static boolean |
JRE_1_4_PLUS
'true' iff the current runtime version is 1.4 or later |
| Field Detail |
|---|
static final boolean JRE_1_2_PLUS
static final boolean JRE_1_3_PLUS
static final boolean JRE_1_4_PLUS
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||