public boolean support (int major, int minor) {
    String version_all = string (VERSION);
    int to = version_all.indexOf (' ');
    if (to == -1) to = version_all.length ();
    String version_number = version_all.substring (0, to);
    
    String [] versions = gnu.util.Misc.tokenize (version_number, ".");
    if (versions.length < 2) return false; // invalid format

    int major0 = Integer.parseInt (versions [0]);
    int minor0 = Integer.parseInt (versions [1]);

    return major0 == major && minor0 >= minor;
  }