Check whether the configuration is successful. Run CMD and enter Java-version (there is a space between Java and-version)
If the version information is displayed, the installation and configuration are successful.
Ii. installation and configuration of tomcat7.0.22
1. Download tomcat7.0.22: http://tomcat.apache.org/download-70.cgi
2. Add system environment variables. Choose my computer> Properties> advanced system Settings> environment variables (same as above)
(1) variable name: catalina_base variable value: D: \ Program Files \ apache-Tomcat-7.0.22 (directory decompressed by Tomcat)
(2) variable name: catalina_home; variable value: D: \ Program Files \ apache-Tomcat-7.0.22
(3) variable name: catalina_tmpdir variable value: D: \ Program Files \ apache-Tomcat-7.0.22 \ Temp
(4) variable name: PATH variable value: D: \ Program Files \ apache-Tomcat-7.0.22 \ bin
3. Run tomcat7.0.22, "Start", "run", Enter cmd, and enter startup in the command prompt. bat, then the Tomcat command box will pop up and output the startup log. Open the browser and enter http: // localhost: 8080/. If you enter the Tomcat welcome page, congratulations, the configuration is successful.
4. Configure Tomcat: window-preferences
Select Server-runtime environments-click Add on the right
Select Apache Tomcat v6.0 and click Next.
Then, Click Browse to select the path to which your Tomcat is extracted, and select under the root directory, for example, D: \ apache-Tomcat-6.0.37; select your JDK in JRE, you can click installedjres to configure JDK
Click installed jres, and then click Add
The default standard VM is available, and then click Next
Click directory to select the local JDK installation path, and then click Finish.
III. For installation configuration and connection of eclipse and MySQL, please stay tuned.