Commit ac7b7705 authored by Bill Lynch's avatar Bill Lynch Committed by bill

Minor


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@415 b35dd754-fafc-0310-a699-88a17e54d16e
parent 5297b0d7
......@@ -6,4 +6,18 @@ REM # $Revision$
REM # $Date$
REM #
start "Jive Messenger" java -jar ..\lib\startup.jar
\ No newline at end of file
if "%JAVA_HOME%" == "" goto javaerror
if not exist "%JAVA_HOME%\bin\java.exe" goto javaerror
goto run
:javaerror
echo.
echo Error: JAVA_HOME environment variable not set, Jive Messenger not started.
echo.
goto end
:run
start "Jive Messenger" %JAVA_HOME%\bin\java -jar ..\lib\startup.jar
goto end
:end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment