From 7926b4fde36b76848d123186eeea60a075984c44 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. --- opends/resource/setup.bat | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opends/resource/setup.bat b/opends/resource/setup.bat index 912385c..7806468 100644 --- a/opends/resource/setup.bat +++ b/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