JavaHome parameter ignored when running procsrv in java mode
------------------------------------------------------------
Key: DAEMON-112
URL: https://issues.apache.org/jira/browse/DAEMON-112
Project: Commons Daemon
Issue Type: Bug
Affects Versions: 1.0.1
Environment: Windows
Reporter: Jack Cai
When running procsrv in java mode, the JavaHome value is not used at all even
when it is set in the command line option or stored in the service entry in
registry. Instead, it only tries to read the JAVA_HOME environment variable,
and if in vain, fall back to read the path specified in
HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\ or
HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Runtime Environment\\.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.