Summary: | Incorrect setup instructions | ||
---|---|---|---|
Product: | Tomcat 6 | Reporter: | akalender |
Component: | Documentation | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | default | ||
Hardware: | Other | ||
OS: | All |
Description
akalender
2011-10-18 13:55:18 UTC
Yes, the text is wrong, but in a different way: the Tomcat Windows installer does not look for JAVA_HOME or for JRE_HOME variables. It looks at the registry only. (Function findJavaHome in res/tomcat.nsi) The service.bat manual service installation script does look for those variables, but it is not what is described here. Excuse me, yes, you are correct the windows installer will use the registry. In this case still exporting JAVA_HOME as a pointer to the base directory of a JRE might cause problems. E.g. one might deflate the plain zip-file in parallel and start the "statup.bat" (I haven't tested whether the registry value will be used by "startup.bat" created by windows installer). So if the value JAVA_HOME is not used I would like to ask you to remove it or (as in case of the startup.bat file) to correct the information. Don't get me wrong, it is not a big problem to me. Usally I only refer to (the very good) documentation of Apache projects if customers want to install an application manually. And one (no pro in IT) has chosen to install it manually and get's an error that the JAVA_HOME should point to JDK instead of a JRE. Fixed in trunk, 7.0.x (will be in 7.0.23 onwards) and 6.0.x (will be in 6.0.34 onwards). |