I followed the instructions.
JDK is installed under Program Files/Java.
Tomcat is installed under Program Files/Tomcat.
I moved the Mango files to the Tomcat folder as directed.
However - when I try to start Tomcat, I get the following error:
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
What that means is that Tomcat can’t find your Java installation. There are multiple ways to fix this, but an easy one is to edit the startup.bat file, and put this at the top:
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0
… substituting the right side of the ‘=’ with the path on your machine.
Another way to address this is to add a JAVA_HOME environmental variable to your system. In Windows XP, go to Start --> Control Panel --> System --> Advanced --> Environmental Variables, and add the variable to either user or system variables.
In most Linux versions you can add the lines "JAVA_HOME=..." and "export JAVA_HOME" to your .bash_profile file.