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

jvergara
20.14.2007 808ad8e19fe1ddf1052d9fd85ffdcf2fa0930ab0
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
opends/src/server/org/opends/server/util/SetupUtils.java 10 ●●●●● patch | view | raw | blame | history
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())
    {