private static boolean isVersionBelow(String prop,double maxVer){
  try {
    String v=System.getProperty(prop);
    if (v != null) {
      double d=Double.parseDouble(v);
      if (d < maxVer) {
        return true;
      }
    }
  }
 catch (  Exception ignore) {
  }
  return false;
}

private static boolean isVersionBelow ( String prop , double maxVer ) { try { String v = System . getProperty ( prop ) ; if ( v != null ) { double d = Double . parseDouble ( v ) ; if ( d < maxVer ) { return true ; } } } catch ( Exception ignore ) { } return false ; }
used to parse double - valued system properties that are version numbers . assumes that the passed system property is present and can be parsed as a double .
