docs: private void captureEnvData(File dumpDir, File installDir) {
          File versionsSource = new File(installDir, "lib/versions");
          File fixesSource = new File(installDir, "lib/fixes");
          String sharedConfigDir = AccessController.doPrivileged(new PrivilegedAction<String>() {
  
              @Override
              public String run() {
                  return System.getProperty("shared.config.dir");
              }
  
          });
          File sharedConfigSource = sharedConfigDir != null ? new File(sharedConfigDir) : new File(installDir, "usr/shared/config");
  
          File versionsTarget = new File(dumpDir, "service/versions");
          File fixesTarget = new File(dumpDir, "service/fixes");
          File sharedConfigTarget = new File(dumpDir, "usr/shared/config");
  
          if (versionsTarget.mkdirs()) {
              try {
                  FileUtils.copyDir(versionsSource, versionsTarget);
              } catch (IOException e) {
                  Debug.printStackTrace(e);
              }
          }
          if (fixesTarget.mkdirs()) {
              try {
                  FileUtils.copyDir(fixesSource, fixesTarget);
              } catch (IOException e) {
                  Debug.printStackTrace(e);
              }
          }
          if (sharedConfigTarget.mkdirs()) {
              try {
                  FileUtils.copyDir(sharedConfigSource, sharedConfigTarget);
              } catch (IOException e) {
                  Debug.printStackTrace(e);
              }
          }
      }