When doing the "are you there?" test in hatch.bat, my Windows 7 32-bit
VM's installed version of Java (1.8.0_161)did not recognize "--dry-run"
as a valid option. Changing the test to a simple "java -version" works.
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
REM SET JAR=%JAVA_HOME%\bin\jar
REM Is anyone there?
-%JAVA% --dry-run -cp "lib\*" org.evergreen_ils.hatch.Hatch 2>nul
+%JAVA% -version 2>nul
IF %ERRORLEVEL% EQU 0 GOTO Huzzah
REM Are you still there?
SET JAVA=%PROGRAMDATA%\Oracle\Java\javapath\java
-%JAVA% --dry-run -cp "lib\*" org.evergreen_ils.hatch.Hatch 2>nul
+%JAVA% -version 2>nul
IF %ERRORLEVEL% EQU 0 GOTO Huzzah