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

jvergara
25.13.2007 4bd78f7c29f0348bbb04c17246c16b8691294f85
opendj-sdk/opends/resource/uninstall.bat
@@ -48,7 +48,12 @@
:noSetJavaHome
echo Error: JAVA_HOME environment variable is not set.
echo        Please set it to a valid Java 5 installation.
echo        Please set it to a valid Java 5 (or later) installation.
goto end
:noValidJavaHome
echo ERROR:  The detected Java version could not be used.  Please set
echo         JAVA_HOME to to a valid Java 5 (or later) installation.
goto end
:setClassPath
@@ -56,6 +61,10 @@
set PATH=%SystemRoot%
rem Test that the provided JDK is 1.5 compatible.
"%JAVA_BIN%" org.opends.server.tools.InstallDS -t > NUL 2>&1
if not %errorlevel% == 0 goto noValidJavaHome
if "%*" == "" goto callLaunch
goto callJava