First, install preparation
Before installing, you should prepare the following software:
Software: J2SE
Version: 1.4.2_04
Official download: http://java.sun.com/j2se/1.4.2/download.html
Remarks:
Software: Tomcat
Version: 5.0.19
Official download: http://www.apache.org/dist/jakarta/
Remarks:
Software: struts
Version: 1.1
Official download: http://www.apache.org/dist/jakarta/struts/
Remarks:
Software: Eclipse
Version: 2.1.3
Official download: http://www.eclipse.org/downloads/index.php
Remarks: The latest version of Eclipse is Eclipse3.0R1
Software: EclipseranguagePack
Version: 2.1.2.1
Official download: http://www.eclipse.org/downloads/index.php
Remarks: This version can only halt eclipse2.1.3 and below
Software: Tomcatplugin
Version: 2.2.1
Official download: http://www.sysdeo.com/eclipse/tomcatplugin.html
Remarks: This version can only halt eclipse2.1.3 and below
Software: Lomboz
Version: 2.1.3
Official download: http://www.objectLearn.com/index.jsp
Remarks: This version can only halt eclipse2.1.3 and below
Software: Easystruts
Version: 0.6.4
Official download: http://sourceforge.net/projects/easystruts
Remarks: This version can only halt eclipse2.1.3 and below
The above software version is a version of the installation, in order to make your installation not an error, please follow the above version of the principal software.
HODESOFT internal employees can access //192.168.0.23
If you want to find another Eclipse plugin, you can go down this site.
http://www.eclipse-plugins.info
Second, JDK installation
1. Install J2SE-SDK to E: /J2SDK1.4.2
Some directory structures are as follows:
E: /J2SDK1.4.2/IN
E: /J2SDK1.4.2/lib
E: /J2SDK1.4.2/JRE
. . .
2. The configuration environment variable is as follows:
Java_Home = E: /J2SDK1.4.2
Path =% java_home% / in;.;% Java_home% / lib;% java_home% / jre / lib;
Classpath =.;% Java_home% / lib;% java_home% / jre / lib;
Third, Tomcat Installation
1. Unzip JAKARTA-TOMCAT-5.0.19.Zip to E: / Tomcat
Some directory structures are as follows:
E: / Tomcat / in
E: / Tomcat / Conf
E: / Tomcat / WebApps
. . .
2. The configuration environment variable is as follows:
Tomcat_home = E: / Tomcat
Fourth, Struts installation
1. Unzip jakarta-struts-1.1.zip to E: /jakarta-struts-1.1.1.1.1.1.1.1.1.zip to E: /JAKARTA-STRUTS-1.1
Some directory structures are as follows:
E: /JAKARTA-STRUTS-1.1/LIB
E: /JAKARTA-STRUTS-1.1/webapps
. . .
V. Eclipse installation
1. Unzip Eclipse-sdk-2.1.3-win32.zip to E: / Eclipse213
Some directory structures are as follows:
E: / Eclipse213 / Features
E: / Eclipse213 / plugins. . .
2. Start Eclipse to see if the installation is successful
If you are unsuccessful, please check if Jre is installed.
3. Start Eclipse, click on the menu Windows-> Preferences to click on the left tree to open Java, select Installed Jres,
If Installed Jres is as follows:
JRE TYPE: STANDARD VM
Name: J2SDK1.4.2
Location: E: /J2SDK1.4.2
Sixth, Eclipse Chinese
1. Unzip Eclipse2.1.2.1-sdk-win32-languagePackFeature.zip to E: / Eclipse213
Change the directory name Eclipse2.1.2.1-SDK-Win32-LanguagePackfeature to Eclipse2.1.2.1Lnguage
Some directory structures are as follows:
E: /eclipse213/eclipse2.1.2.1Lnguage/eclipse/features
E: /eclipse213/eclipse2.1.2.1Lnguage/eclipse/plugins
. . .
2. New Folder Links under E: / Eclipse213, make the folder Links and folder Eclipse2.1.2.1Lnguage
3. In E: / Eclipse213 / Links, the file name is obtained, here we named Language.Link, open this file,
Join PATH = E: //eclipse213/ //eclipse2.1.2.1Lnguage
4. Start eclipse to see if Chinese is successful, if you are not successful, please check the configuration information path in the language.link file =
E: //eclipse213//eclipse2.1.2.1Lnguage and Chinese folder Eclipse2.1.2.1Lnguage installation path is one
Cause
Seven, TomcatPlugin installation
1. Unzip TomcatPluginv221.zip
2. Put the Directory TomcatPluginv221 to copy to the Eclipse installation
In the Plugins directory in the record, that is, E: / Eclipse213 / Plugins
3. Start Eclipse
4. After startup, you will see a droppot Tomcat on your menu. There are three Tomcat cat charts in the shortcut bar, such as
If you don't see it, please click on the window-> custom perspective, expand "other" in the tree structure, select "Tomcat"
5. Click on the window -> Preferences
Click Tomcat in the left tree, set Tomcat Version to Version 5.x
Set Tomcat Version to Version 5.x
Set Tomcat-Home for E: / Tomcat
Set Perspective To Switch when Tomcat is Started for Java
Click Tomcat-> JVM Setting on the left tree, set JRE to J2SDK1.4.2
Click Apply to determine
6. Click the shortcut button "Start Tomcat" to start Tomcat.
Eight, Lomboz installation
1. Unzip LOMBOZ.213.ZIP
2. Decompression directory Lomboz.213 / plugins Under folder com.objectlearn.jdt.j2ee and com.ObjectLearn.jdt.j2ee.editors Copy to the plugins directory in the Eclipse installation directory, that is, E: / Eclipse213 / Plugins
3. Start Eclipse
4. Click on the window -> Preferences
Click Lomboz in the left tree, set the JDK Tools.jar position to E: / J2SDK1.4.2 / lib / Tools.jar
Click Lomboz-> Server Definitions in the left tree, set Server Type for Apache Tomcat V5.0.x
Set the Application Server Directory for E: / Tomcat
Set ClassPath Variable Name for Tomcat_home
Set ClassPath Variable for E: / Tomcat
Click Apply to determine
Nine, easystruts installation
1. Unzip org.easystruts.eclipse_0.6.4.zip
2. Will decompress the directory org.easystruts.eclipse_0.6.4 folder com.cross.easystruts.eclipse_0.6.4 Copy to Eclipse
In the Plugins directory in the installation directory, that is, E: / Eclipse213 / Plugins
3. Start Eclipse
4. Click on the window -> Preferences
Click Easy Struts on the left tree, select Struts1.1
Add JRES is as follows:
Struts.jar-e: /jakarta-struts-1.1/lib/struts.jar
Add TLDs are as follows:
Struts-tiles.tld-e: /jakarta-struts 1.1/lib/struts-tiles.tld
Struts-template.tld-e: /jakarta-struts-1.1/lib/struts-template.tld
Struts-nested.tld-e: /jakarta-struts-1.1/lib/struts-nested.tld.tld
Struts-logic.tld-e: /jakarta-struts-1.1/lib/struts-logic.tld
Struts-html.tld-e: /jakarta-struts-1.1/lib/struts-html.tld
Struts-bean.tld-e: /jakarta-struts-1.1/lib/struts-bean.tld
Click Apply to determine
From
http://www.netbei.com/Article/jsp/jsp7/200412/3108.html