#安装jdk # Download JDK Package Double-click Install jdk-8u20-windows-x64, the installation path can be changed or you can not change the computer----> right-click Properties----> Advanced system settings----> environment variable is the environment variable dialog system user variable----> new, variable name fill java_home, variable value fill JDK installation full path----> OK; #系统变量----> Find PATH variable----> enter the variable value last; Java_home%\bin; (Note that there is a number separated from the front) #系统变量----> New classpath variable named classpath, the variable value is.; %java_home%\jre\lib\rt.jar;.;( Note the first bit of the symbol, the last side has; #测试变量是否安装成功, run cmd----> input java-version The following shows the Java environment OK C:\users\administrator>java-versionjava version " 1.8.0_20 "Java (tm) SE Runtime Environment (build 1.8.0_20-b26) Java HotSpot (tm) 64-bit Server VM (build 25.20-b23, mixed mod e) #安装tomcat软件 # Unzip the tomcat file to the C packing directory and change the name to Tomcat, click on the Computer right button properties----> Advanced system settings----> Environment Variables dialog box system User variables----> new, The variable is named Tomcat_home, the variable value is c:\tomcat----OK # system variable----> NEW----variable is catalian_home----> variable value is c:\tomcat----OK # system variable----> The new----variable is classpath----> variable value is.; %java_home%\lib;%java_home%\lib\tools.jar----OK # start Tomcat, run cmd---startup
This article is from the "Wu Shanqiang" blog, make sure to keep this source http://shanqiangwu.blog.51cto.com/8067564/1653559
Windows Server R2 Installing Tomcat