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

jvergara
22.41.2007 1faa6b83895dba3f275c72635f03518a6dc01007
opends/resource/uninstall.bat
@@ -23,11 +23,11 @@
rem CDDL HEADER END
rem
rem
rem      Portions Copyright 2006 Sun Microsystems, Inc.
rem      Portions Copyright 2006-2007 Sun Microsystems, Inc.
setlocal
set DIR_HOME=%~dP0
set DIR_HOME=%~dP0.
set INSTANCE_ROOT=%DIR_HOME%
:checkJavaBin
@@ -57,7 +57,15 @@
set PATH=%SystemRoot%
"%JAVA_BIN%" %JAVA_ARGS% org.opends.quicksetup.uninstaller.UninstallLauncher %*
if "%*" == "" goto callLaunch
goto callJava
:callLaunch
"%DIR_HOME%\lib\winlauncher.exe" launch "%DIR_HOME%" "%JAVA_BIN%" %JAVA_ARGS% org.opends.quicksetup.uninstaller.UninstallLauncher
goto end
:callJava
"%JAVA_BIN%" %JAVA_ARGS% org.opends.quicksetup.uninstaller.UninstallLauncher %*
goto end
:end