- getJavaVersion
Returns the version of Java this class is running under.Up until Java 8 Java
version numbers were 1.
- getJrePackages
get a vector of strings of packages built into that platforms runtime jar(s)
- isAtLeastJavaVersion
Compares the current Java version to the passed in String - assumes the argument
is one of the const
- isJavaVersion
Compares the current Java version to the passed in String - assumes the argument
is one of the const
- addExtension
Adds a system specific extension to the name of an executable.
- buildJrePackages
demand creation of the package list. When you add a new package, add a new test
below.
- findInDir
Look for an executable in a given directory.
- getJavaHome
Return the value of ${java.home}
- getJdkExecutable
Finds an executable that is part of a JDK installation based on the java.home
system property.You ty
- getJreExecutable
Finds an executable that is part of a JRE installation based on the java.home
system property.java,
- getParsedJavaVersion
Returns the version of Java this class is running under.This number can be used
for comparisons.
- isApacheHarmony
Checks whether the current VM is Apache Harmony.