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

jvergara
26.13.2007 e7934050009ce7e6f43e2ce7d56c827a23ac287e
opends/src/quicksetup/org/opends/quicksetup/QuickSetup.java
@@ -622,7 +622,8 @@
      {
        try
        {
          String cmd = Utils.isWindows()?"statuspanel.bat":"statuspanel";
          String cmd = Utils.isWindows()?Utils.getWindowsStatusPanelFileName():
              Utils.getUnixStatusPanelFileName();
          String serverPath;
          if (Utils.isWebStart())
          {
@@ -632,7 +633,8 @@
          {
            serverPath = Utils.getInstallPathFromClasspath();
          }
          cmd = Utils.getPath(serverPath, "bin"+File.separator+cmd);
          cmd = Utils.getPath(serverPath, Utils.getBinariesRelativePath()+
                  File.separator+cmd);
          ProcessBuilder pb = new ProcessBuilder(new String[]{cmd});
          Map<String, String> env = pb.environment();
          env.put("JAVA_HOME", System.getProperty("java.home"));