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

jvergara
28.50.2007 fd123dfd23f241e312dfa5e6430dc52cf4a0a98d
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/BuildInformation.java
@@ -31,6 +31,7 @@
import org.opends.quicksetup.util.Utils;
import org.opends.server.util.DynamicConstants;
import org.opends.server.util.SetupUtils;
import java.util.HashMap;
import java.util.List;
@@ -95,11 +96,7 @@
    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");
      env.put(SetupUtils.OPENDS_JAVA_HOME, System.getProperty("java.home"));
      Process process = pb.start();
      is = process.getInputStream();
      BufferedReader reader = new BufferedReader(new InputStreamReader(is));