This section details the steps you take to install Apache Tomcat version 7. 
	 
 
	  
		Procedure 
		 
		  -  Create a new folder on your computer (for example, 
			 C:\Tomcat (Windows) or 
			 ~/tomcat/ (UNIX)). 
		  
 
 
		  -  Use your browser to navigate to the Apache Tomcat page: 
			 http://tomcat.apache.org/download-70.cgi. If the link fails for any reason, do a web search for "apache tomcat 7 download". 
		  
 
 
		  -  Under "Download", select version 7. 
		  
 
 
		  -  Navigate to the 
			 Binary Distributions - Core section and click on 
			 32-bit Windows zip or 
				64-bit Windows zip depending on your OS (Windows), or 
			 zip or 
				tar.gz (UNIX). 
		  
 
 
		  -  Extract the distribution files into the folder created in step 1. 
			 
Note: Ensure that the option to retain folder names is selected. 
			 
 
 
		   
 
		
 
		 
 
		On UNIX and Linux platforms no further action is required at this stage, but on Windows you need to register the service. Do this by taking the following steps: 
		
 
		  -  Launch a command prompt (cmd.exe) with administrator privileges. 
		  
 
 
		  -  Change to the 
			 bin folder of your Apache Tomcat installation (for example, 
			 C:\Tomcat\InstalledVersionPath\bin, where 
			 InstalledVersionPath is the folder name of the installed version from the zip file). 
		  
 
 
		  - Before you run the next command, you need to set either of these environment variables: 
			 JRE_HOME or 
			 JAVA_HOME. Micro Focus suggests that you set 
			 JRE_HOME, and ensure that it points to your Java Runtime Environment (JRE) folder. Typically, in a 32-bit system, the command is: 
			 
set JRE_HOME=C:\Program Files (x86)\Java\jre7
 
			 Note: Ensure that the file path is 
				
not enclosed in quotation marks. 
			 
 
 
		   
 
		  - Register the service with the command: 
			 
service.bat install