service.bat does not check for JAVA_HOME validity. It also does not check for JRE_HOME like catalina.bat does trough setclasspath.bat script. If neither the JAVA_HOME nor JRE_HOME are set we should inform the user and then switch to auto detection mode from the registry
Fixed in the trunk as r 1000718
> Fixed in the trunk as r1000718 That is included in 7.0.3 onwards. Proposed backport for 6.0.x.
Fixed in Tomcat 6 with r1589390 , will be in 6.0.40.