Description
-StartMode/-StopMode 'java' assumes to use JDK and expects --JavaHome to be set. It should be a common requirement to use plain JRE to run services. In this case procrun should extract binary path from registry. Same way like mode 'jvm'.
To recognize this mode StartMode/StopMode could use a new value ('jre') or JavaHome could understand a special keyword ('jre').