Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cyganiak committed Feb 8, 2007
1 parent af9f513 commit 565a6f8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install-service.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
REM !!!!!!!!!! Set this to the root directory of your Java installation. !!!!!!!
REM !!!!!!!!!! Typical value: C:\Program Files\Java\jdk_1.5.0_09 !!!!!!!
REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
set JAVA_HOME=
set JAVA_HOME_FOR_D2R=

REM Check if at least serviceName and mappingFileName are present on the command line
if "%1%2"=="" (
Expand All @@ -19,6 +19,9 @@ if NOT EXIST .\d2r-server.bat (
)

REM Make sure we have JAVA_HOME
IF NOT "%JAVA_HOME_FOR_D2R%"=="" (
set JAVA_HOME=%JAVA_HOME_FOR_D2R%
)
if "%JAVA_HOME%"=="" (
echo Could not determine the location of the Java installation.
echo Please set the JAVA_HOME environment variable or edit install-service.bat
Expand Down

0 comments on commit 565a6f8

Please sign in to comment.