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

jvergara
28.50.2007 fd123dfd23f241e312dfa5e6430dc52cf4a0a98d
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/ExternalTools.java
@@ -29,6 +29,7 @@
import org.opends.messages.Message;
import org.opends.quicksetup.Installation;
import org.opends.server.util.SetupUtils;
import java.util.logging.Logger;
import java.util.logging.Level;
@@ -113,11 +114,8 @@
    ProcessBuilder pb = new ProcessBuilder(args);
    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 p = pb.start();
    BufferedReader out =