FileDocCategorySizeDatePackage
IJREVersion.javaAPI DocAndroid 1.5 API3363Wed May 06 22:41:16 BST 2009com.vladium.util

IJREVersion

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).

author
Vlad Roubtsov, (C) 2003

Fields Summary
boolean
JRE_1_2_PLUS
'true' iff the current runtime version is 1.2 or later
boolean
JRE_1_3_PLUS
'true' iff the current runtime version is 1.3 or later
boolean
JRE_1_4_PLUS
'true' iff the current runtime version is 1.4 or later
boolean
JRE_SUN_SIGNAL_COMPATIBLE
Constructors Summary
Methods Summary