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

jvergara
20.14.2007 8963133449c96bad6d5e4d70e7840eb3126747f6
Fix a give issue in Windows.  The command line assume that the set-java-home.bat file is created under "bat" directory and not under "lib".  This broke the start and stop when the windows service was enabled and forced the user to set JAVA_HOME in order to use command-lines.
1 files modified
10 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/util/SetupUtils.java 10 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/SetupUtils.java
@@ -203,7 +203,15 @@
    }
    File binDirectory = new File(serverRoot, "bin");
    File binDirectory;
    if (isWindows())
    {
      binDirectory = new File(serverRoot, "bat");
    }
    else
    {
      binDirectory = new File(serverRoot, "bin");
    }
    File setJavaHomeFile;
    if (isWindows())
    {