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.
| | |
| | | } |
| | | |
| | | |
| | | 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()) |
| | | { |