private static StringBuilder readGlibcVersionStream(final InputStream iStream)
      throws IOException {
    final StringBuilder builder = new StringBuilder();
    String line;

    try (BufferedReader bufferedReader =
        new BufferedReader(new InputStreamReader(iStream, Charset.defaultCharset()))) {
      while ((line = bufferedReader.readLine()) != null) {
        builder.append(line);
        builder.append(System.getProperty("line.separator"));
      }
    }

    return builder;
  }
Normalize java version string.

@param javaVersion the java version
@return the string
util/src/main/java/org/hyperledger/besu/util/platform/PlatformDetector.java