docs: public static String[] runEnv(String extractDirectory) {
  
          Map<String, String> envmap = System.getenv();
          Iterator<String> iKeys = envmap.keySet().iterator();
          List<String> envList = new ArrayList<String>(envmap.size() + 1);
  
          boolean javaHomeSet = false;
          while (iKeys.hasNext()) {
              String key = iKeys.next();
              String val = envmap.get(key);
              if (key.equals("WLP_USER_DIR")) {
                  envList.add("WLP_USER_DIR=" + extractDirectory + File.separator + "wlp" + File.separator + "usr");
              } else {
                  envList.add(key + "=" + val);
              }
              // check if JAVA_HOME is set
              if (key.equals("JAVA_HOME")) {
                  javaHomeSet = true;
              }
          }
          if (!javaHomeSet) {
              // JAVA_HOME is not set.  Need to set it to the value of java.home
              String javaHome = System.getProperty("java.home");
              SelfExtract.out("RUN_IN_CHILD_JVM_SET_JAVA_HOME", javaHome);
              envList.add("JAVA_HOME=" + javaHome);
          }
          return envList.toArray(new String[0]);
  
      }