Liferay 6.0.5

com.liferay.portal.kernel.util
Class JavaProps

java.lang.Object
  extended by com.liferay.portal.kernel.util.JavaProps

public class JavaProps
extends Object


Field Summary
static double JAVA_CLASS_VERSION_JDK_4
           
static double JAVA_CLASS_VERSION_JDK_5
           
static double JAVA_CLASS_VERSION_JDK_6
           
static double JAVA_CLASS_VERSION_JDK_7
           
 
Method Summary
static String getJavaClassPath()
           
static double getJavaClassVersion()
           
static String getJavaRuntimeVersion()
           
static double getJavaSpecificationVersion()
           
static String getJavaVersion()
           
static String getJavaVmVersion()
           
static boolean isJDK4()
           
static boolean isJDK5()
           
static boolean isJDK6()
           
static boolean isJDK7()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAVA_CLASS_VERSION_JDK_4

public static final double JAVA_CLASS_VERSION_JDK_4
See Also:
Constant Field Values

JAVA_CLASS_VERSION_JDK_5

public static final double JAVA_CLASS_VERSION_JDK_5
See Also:
Constant Field Values

JAVA_CLASS_VERSION_JDK_6

public static final double JAVA_CLASS_VERSION_JDK_6
See Also:
Constant Field Values

JAVA_CLASS_VERSION_JDK_7

public static final double JAVA_CLASS_VERSION_JDK_7
See Also:
Constant Field Values
Method Detail

getJavaClassPath

public static String getJavaClassPath()

getJavaClassVersion

public static double getJavaClassVersion()

getJavaRuntimeVersion

public static String getJavaRuntimeVersion()

getJavaSpecificationVersion

public static double getJavaSpecificationVersion()

getJavaVersion

public static String getJavaVersion()

getJavaVmVersion

public static String getJavaVmVersion()

isJDK4

public static boolean isJDK4()

isJDK5

public static boolean isJDK5()

isJDK6

public static boolean isJDK6()

isJDK7

public static boolean isJDK7()

Liferay 6.0.5