| | |
| | | |
| | | :noJavaFound |
| | | echo ERROR: Could not find a valid Java binary to be used. |
| | | echo You must specify the path to a valid Java 5.0 or higher version. |
| | | echo You must specify the path to a valid Java 6.0 or higher version. |
| | | echo The procedure to follow is: |
| | | echo 1. Delete the file %INSTANCE_ROOT%\lib\set-java-home.bat if it exists. |
| | | echo 2. Set the environment variable OPENDS_JAVA_HOME to the root of a valid |
| | | echo Java 5.0 installation. |
| | | echo Java 6.0 installation. |
| | | echo If you want to have specific Java settings for each command line you must |
| | | echo follow the steps 3 and 4. |
| | | echo 3. Edit the properties file specifying the Java binary and the Java arguments |
| | |
| | | echo ERROR: The detected Java version could not be used. The detected |
| | | echo Java binary is: |
| | | echo %OPENDS_JAVA_BIN% |
| | | echo You must specify the path to a valid Java 5.0 or higher version. |
| | | echo You must specify the path to a valid Java 6.0 or higher version. |
| | | echo The procedure to follow is: |
| | | echo 1. Delete the file %INSTANCE_ROOT%\lib\set-java-home.bat if it exists. |
| | | echo 2. Set the environment variable OPENDS_JAVA_HOME to the root of a valid |
| | | echo Java 5.0 installation. |
| | | echo Java 6.0 installation. |
| | | echo If you want to have specific Java settings for each command line you must |
| | | echo follow the steps 3 and 4. |
| | | echo 3. Edit the properties file specifying the Java binary and the Java arguments |
| | |
| | | exit /B 1 |
| | | |
| | | :notSupportedJavaHome |
| | | rem We get here when the java version is 5 (or up) but not supported. We run |
| | | rem We get here when the java version is 6 (or up) but not supported. We run |
| | | rem InstallDS again to see a localized message. |
| | | "%OPENDS_JAVA_BIN%" %OPENDS_JAVA_ARGS% org.opends.server.tools.InstallDS -t |
| | | pause |
| | |
| | | echo arguments %OPENDS_JAVA_ARGS%. |
| | | echo The detected Java binary is: |
| | | echo %OPENDS_JAVA_BIN% |
| | | echo You must specify the path to a valid Java 5.0 or higher version. |
| | | echo You must specify the path to a valid Java 6.0 or higher version. |
| | | echo The procedure to follow is: |
| | | echo 1. Delete the file %INSTANCE_ROOT%\lib\set-java-home.bat if it exists. |
| | | echo 2. Set the environment variable OPENDS_JAVA_HOME to the root of a valid |
| | | echo Java 5.0 installation. |
| | | echo Java 6.0 installation. |
| | | echo If you want to have specific Java settings for each command line you must |
| | | echo follow the steps 3 and 4. |
| | | echo 3. Edit the properties file specifying the Java binary and the Java arguments |