docs: def _parse_java_version(line: str) -> tuple:
      """ Return the version number found in the first line of `java -version`
  
      >>> _parse_java_version('openjdk version "11.0.2" 2018-10-16')
      (11, 0, 2)
      """
      m = VERSION_RE.search(line)
      version_str = m and m.group(0).replace('"', '') or '0.0.0'
      if '_' in version_str:
          fst, snd = version_str.split('_', maxsplit=2)
          version = parse_version(fst)
          return (version[1], version[2], int(snd))
      else:
          return parse_version(version_str)