Install and configure the installation package for JDK, Tomcat, and myEclipse
JAVA Runtime Environment package
JDK1.7: http://www.veryhuo.com/down/html/43205.html
Jsp project running server [Tomcat], similar to IIS
Tomcat5.0 and later versions: http://www.liangchan.net/liangchan/2429.html
MyEclipse8.5 Jsp development tool
MyEclipse8.5 [cracked version] http://www.cr173.com/soft/11547.html
Decompress the above package for Installation
How to configure environment variables for JDK and Tomcat
JDK environment variable Configuration:
Right-click my computer and choose Properties> advanced system Settings> environment variables]
The parameters are as follows:
JDK installation package directory
JAVA_HOME JDK: F: \ developSoft \ eclipse \ androidjdk \ jdk-7u1-windows-7.0
Path: % JAVA_HOME % \ bin; % JAVA_HOME % \ jre \ bin
Tomcat configuration:
CLASSPATH:.; % JAVA_HOME % \ lib \ tools. jar; % CATALINA_HOME % \ common \ lib \ servlet-api.jar;
TomCat installation directory
CATALINA_HOME: C: \ Program Files \ Apache Software Foundation \ Tomcat 5.0
CATALINA_BASE: C: \ Program Files \ Apache Software Foundation \ Tomcat 5.0
TOMCAT_HOME: C: \ Program Files \ Apache Software Foundation \ Tomcat 5.0
Detect JDK and Tomcat
DetectionJDK
1) Run "cmd" and input java-version.
The current JDK version is displayed here.
2) Write Verification Code
Right-click myEclipse and create a java project.
Add the primary method for verification:
Public Static VoidMain (String [] args ){
//TODOAuto-generated method stub
System.Out. Println ("welcome the java world ");
}
Start running and find output;
Detect TomCat
Check based on the configured TomCat Port
View: C: \ Program Files \ Apache Software Foundation \ Tomcat 5.0 \ conf \ server. xml the Configuration Port is 8888
Open IE and enter http: // localhost: 8888/
The TomCat homepage appears:
Note: The above two points indicate that the configuration is successful.