Tomcat 5.5/6.0的文档说:
The installer will use the registry or the JAVA_HOME environment variable to determine the base path of a J2SE 5 JRE. (其实设JAVA_HOME只是为了寻找JRE,把JAVA_HOME设置为JRE目录的父目录就瞒天过海了)
Set an environment variable named JRE_HOME to the pathname of the directory into which you installed the JRE