| | |
| | | |
| | | import static org.opends.messages.ToolMessages.*; |
| | | import static com.forgerock.opendj.cli.Utils.canWrite; |
| | | import static com.forgerock.opendj.util.OperatingSystem.isWindows; |
| | | |
| | | import java.io.File; |
| | | import java.util.LinkedHashSet; |
| | |
| | | if (root != null) |
| | | { |
| | | String libDir = Utils.getPath(root, Installation.LIBRARIES_PATH_RELATIVE); |
| | | if (Utils.isWindows()) |
| | | if (isWindows()) |
| | | { |
| | | value = Utils.getPath(libDir, |
| | | Installation.SET_JAVA_PROPERTIES_FILE_WINDOWS); |
| | |
| | | { |
| | | // This can happen when we are not launched using the command-line (for |
| | | // instance from the WebInstaller). |
| | | if (Utils.isWindows()) |
| | | if (isWindows()) |
| | | { |
| | | value = Utils.getPath(Installation.LIBRARIES_PATH_RELATIVE, |
| | | Installation.SET_JAVA_PROPERTIES_FILE_WINDOWS); |