Eclipse and Plugin (Tomcatplugin Lomboz Easystruts) installation
First, install preparation
Before installing, you should prepare the following software:
Software version official download Note J2SE 1.4.2_04 http://java.sun.com/j2se/1.4.2/download.html
Tomcat 5.0.19 http://www.apache.org/dist/jakarta/
Struts 1.1 http://www.apache.org/dist/jakarta/struts/
Eclipse 2.1.3 http://www.eclipse.org/downloads/index.php Currently Eclipse latest version is Eclipse3.0r1 EclipselanguagePack 2.1.2.1 http://www.eclipse.org/downloads/index.php This version can only Chinese Eclipse2.1.3 and below TomcatPlugin 2.2.1 http://www.sysdeo.com/eclipse/tomcatplugin.html This version only applies to Eclipse2.1.3 and below Lomboz 2.1.3 http://www.objectLearn.com /index.jsp This version only applies to Eclipse2.1.3 and below Easystruts 0.6.4 http://sourceforge.net/projects/easystruts
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.
Second, JDK installation
1. Install J2SE-SDK to E: /J2SDK1.4.2
Some directory structures are as follows:
E: /J2SDK1.4.2/bin
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% / bin ;.;% 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 / Bin
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 Menu Windows-> Preferences to click on the left tree to open Java, select Installed Jres, if Installed JRES is as follows:
JRE TYPE NAME LOCATION STANDARD VM J2SDK1.4.2 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. Will decompress the 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