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

kenneth_suter
24.25.2007 77eebebe9004fbcedd79da2c5fe729a875f82281
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/util/ServerController.java
@@ -242,6 +242,7 @@
    String[] args = new String[argList.size()];
    argList.toArray(args);
    ProcessBuilder pb = new ProcessBuilder(args);
    pb.directory(installation.getBinariesDirectory());
    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 installer
@@ -249,6 +250,12 @@
     */
    env.remove("JAVA_BIN");
    // Upgrader's classpath contains jars located in the temporary
    // directory that we don't want locked by the directory server
    // when it starts.  Since we're just calling the start-ds script
    // it will figure out the correct classpath for the server.
    env.remove("CLASSPATH");
    try
    {
      String startedId = getStartedId();