1, first download and install JDK,JDK and JRE preferably installed in the same folder in different directory files, after the JDK installation is the environment variable configuration.
JDK Configuration of environment variables:
(1) New variable java_home, value Install for JDK the path;
(2) New variable classpath, value is .; %java_home%\lib;%java_home%\lib\tools.jar.
(3) Modify Path The values are: %java_home%\bin;%java_home%\jre\bin; 。
2,Tomcat decompression configuration environment can be used.
Tomcat configuration of the environment:
Create a new variable catalina_home with a value of E:\apache-tomcat-7.0.52-windows-x86\apache-tomcat-7.0.52 (that is, the directory where Tomcat is installed).
3. Configure the Tomcat steps in Eclipse as follows:
(1) Download the Tomcat plugin tomcatpluginv321.zip for Eclipse.
: http://www.eclipsetotale.com/tomcatPlugin.html.
After downloading, unzip and place the extracted files in the eclipse's plug directory.
(2) Open eclipse. First, you'll see three more icons. If these three icons do not appear, then select ' Window>customize perspective...>commands ' and tick ' Tomcat ' in ' Available command groups '. Then, click "Window" in the menu bar, then click "Preferences", click Directory Tomcat in the Pop-up dialog box, and select your Tomcat version in the root directory tomcat. Tomcat Home Select the path where you can install Tomcat.
Building and configuration of Java development environment