From 178d9f0be9ba1b06ac124aa71cbaec625e24ebb3 Mon Sep 17 00:00:00 2001 From: neil_a_wilson <neil_a_wilson@localhost> Date: Mon, 11 Dec 2006 03:15:28 +0000 Subject: [PATCH] Update the Java Web Start, GUI, and CLI setup modes to write a shell script or batch file that can be used to set JAVA_HOME. Update all of the tools and administrative scripts provided with OpenDS so that they will use this to set JAVA_HOME unless it's already set in the user's environment. --- opendj-sdk/opends/resource/setup.bat | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opendj-sdk/opends/resource/setup.bat b/opendj-sdk/opends/resource/setup.bat index 912385c..7806468 100644 --- a/opendj-sdk/opends/resource/setup.bat +++ b/opendj-sdk/opends/resource/setup.bat @@ -36,7 +36,7 @@ :noJavaBin if "%JAVA_HOME%" == "" goto noJavaHome if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome -set JAVA_BIN="%JAVA_HOME%\bin\java.exe" +set JAVA_BIN=%JAVA_HOME%\bin\java.exe goto setClassPath :noJavaHome echo Error: JAVA_HOME environment variable is not set. @@ -49,7 +49,7 @@ set PATH=%SystemRoot% -%JAVA_BIN% %JAVA_ARGS% org.opends.quicksetup.SetupLauncher -P setup.bat %* +"%JAVA_BIN%" %JAVA_ARGS% org.opends.quicksetup.SetupLauncher -P setup.bat %* :end -- Gitblit v1.10.0