mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
30.26.2007 4f21bd8629a004a2365f99b85944c11ec7a42f54
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/BuildInformation.java
@@ -93,6 +93,12 @@
    ProcessBuilder pb = new ProcessBuilder(args);
    InputStream is = null;
    try {
      Map<String, String> env = pb.environment();
      env.put("JAVA_HOME", System.getProperty("java.home"));
      /* Remove JAVA_BIN to be sure that we use the JVM running the
       * uninstaller JVM to run the command.
       */
      env.remove("JAVA_BIN");
      Process process = pb.start();
      is = process.getInputStream();
      BufferedReader reader = new BufferedReader(new InputStreamReader(is));