JRE_HOMEto the pathname of the directory into which you installed the JRE:
On Windows if the path is e.g.
Or on Linux if the path is e.g.
export JRE_HOME=/usr/local/java/jre6.0to file
JAVA_HOMEenvironment variable to the pathname of the directory into which you installed the JDK, e.g.
C:\tomcat\apache-tomcat-6-0-35. The path must not have any spaces, which prevent applications from running. Dots in the directory names also cause problems, as might other characters, so just use alphanumerics and hyphens as shown in the example.
startup.shis executable first