#3 Fix to Windows start script to check Java version

open-fixed
Colin Crist
None
5
2005-12-02
2005-11-22
Garth Dahlstrom
No

In the release notes from 1.10 build 221005 changes
since build 030905:
* The startup scripts check for the VM to be at least 1.5

While a -version:1.5 is present in the java call, it
does not actually do anything on Java 1.4.2 ...

Attached is 2 line a patch to hermes.bat to fix that:

REM Check for Java 1.5+ JVM
for /F "tokens=3" %%v in ('java -version 2^>^&1^|find
"version"') do if "%%~v" lss "1.5.0" echo Java 1.5 or
higher required to run Hermes JMS (Java version %%~v
was found in the PATH) && pause && goto :EOF

Discussion

  • Add detection for Java 1.5 or greater in Windows start script

     
    Attachments
  • Colin Crist
    Colin Crist
    2005-12-02

    • assigned_to: nobody --> colincrist
    • status: open --> open-fixed