Eclipse and plugin installation
Quote from http://www.donews.net/torres/archive/2004/09/03/87733.aspx 1, installation preparation
Before installing, you should prepare the following software:
Software: J2SDK-1_4_2_04-Windows-i586-P.exe version: 1.4.2_04 Official Download: http://java.sun.com/j2se/1.4.2/download.html Software: Jakarta-Tomcat-5.0.28. EXE version: 5.0.28 Official Download: http://www.apache.org/dist/jakarta/ Software: Jakarta-struts-1.1.zip Version: 1.1 Official Download: http://www.apache.org/dist/ JAKARTA / STRUTS / Software: Eclipse-sdk-2.1.3-win32.zip version: 2.1.3 Official Download: http://www.eclipse.org/downloads/index.php ftp://download2.eclipse.org/ R-2.1.1-200306271545 / Eclipse-sdk-2.1.1-win32.zip Note: Currently Eclipse latest version is Eclipse3.0
Software: Eclipse2.1.1-sdk-win-languagePackfeature.zip version: 2.1.1 Official Download: http://download2.eclipse.org/downloads/drops/ L-2.1.X% 20translations-200307021300 / Eclipse2.1.1-sdk -win-languagePackfeature.zip Note: This version can only happen to Eclipse 2.1.3 and below
Software: TomcatPlugin version: 2.2.1 Official Download: http://www.sysdeo.com/eclipse/tomcatplugin.html Software: Lomboz version: 2.1.3 Official Download: http://www.objectlearn.com/index.jsp Software: Easystruts Version: 0.6.4 Official Download: http://sourceforge.net/projects/easystruts If you are looking for other Eclipse plugins, you can go to the following site http://www.eclipse-plugins.info
Second, JDK installation
1. Install J2SE-SDK to C: /J2SDK1.4.2_04
Some directory structures are as follows:
C: /J2SDK1.4.2_04/bin
C: /J2SDK1.4.2_04/lib
C: /j2sdk1.4.2_04/jre
. . .
2. The configuration environment variable is as follows:
Java_Home = C: /J2SDK1.4.2_04
Path =% path%; C: /J2SDK1.4.2_04/bin
Classpath =.;% Java_home / lib / dt.jar;% java_home% / lib / Tools.jar;% Tomcat_Home% / Common / lib / servlet-api.jar;% Tomcat_Home% / CommON / lib / jsp-API. jar
Third, Tomcat Installation
1. Install Jakarta-Tomcat-5.0.28.exe to C: / Tomcat 5.0
Some directory structures are as follows:
C: / Tomcat 5.0 / bin
C: / Tomcat 5.0 / Conf
C: / Tomcat 5.0 / WebApps
. . .
2. The configuration environment variable is as follows:
Catalina_home = c: / tomcat 5.0tomcat_home = C: / Tomcat 5.04, Struts Installation
1. Unzip JAKARTA-STRUTS-1.1.zip to C: /Jakarta-struts-1.1.1.1.1.1.1.1.1
Some directory structures are as follows:
C: /jakarta-struts-1.1/lib
C: /jakarta-struts-1.1/webapps
. . .
V. Eclipse installation
1. Unzip Eclipse-sdk-2.1.3-win32.zip to D: / Eclipse
Some directory structures are as follows:
D: / Eclipse / Features
D: / Eclipse / 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: J2RE1.4.2_04 Location: C: /J2SDK1.4.2_04/jre
Sixth, Eclipse Chinese
1. Unzip Eclipse2.1.2.1-sdk-win32-languagePackfeature.zip to D: / Eclipse
Change the directory name Eclipse2.1.2.1-SDK-Win32-LanguagePackfeature to Eclipse2.1.2.1Lnguage
Some directory structures are as follows:
D: /eclipse/eclipse2.1.2.1language/eclipse/features
D: /eclipse/eclipse2.1.2.1Lnguage/eclipse/plugins
. . .
2. Create a new folder Links under E: / Eclipse, make the folder Links and folder Eclipse2.1.2.1Lnguage
3. In d: / eclipse / links, the file name is obtained, we named Language.Link, open this file,
Join PATH = D: //eclipse//eclipse2.1.2.1Lnguage
4. Start Eclipse to see if Chinese is successful, if you are not successful, please check if the configuration information in the language.link file Path = D: //eclipse//eclipse2.1.2.1Lnguage and the Chinese folder Eclipse2.1.2.1Lnguage is uniform
Seven, TomcatPlugin installation
1. Unzip TomcatPluginv221.zip
2. Copy the folder com.sdeo.eclipse.tomcat_2.2.1 in the Eclipse installation directory in the Eclipse installation directory, D: / Eclipse / Plugins
3. Start Eclipse
4. After starting, you will see a drop-down Tomcat on your menu. There are three Tomcat cat charts in the shortcut bar. If you don't see, please click on the window -> custom perspective, expand the "other" in the tree structure ", Choose" Tomcat "
5. Click on the window -> Preferences
Click Tomcat in the left tree, set Tomcat Version to Version 5.x Set Tomcat-Home for C: / Tomcat 5.0 Settings Perspective To Switch When Tomcat Is Started to Java Click Tomcat-> JVM Setting in the left tree, set JRE to J2SDK1 .4.2 Sub-option "JVM Settings" -> "Classpath" in the "Tomcat" option, add JAR / ZIP, which should be java_home / lib / Tools.jar. This is used to compile JSP files. Set the ClassPath variable tomcat_home for the project's classpath reference. To complete this task, select the "Java" option in the same pop-up menu as in step 5, then select the "ClassPath Variables" sub-option and add a new variable "tomcat_home", which is C: / Tomcat 5.0. Make sure the "Tomcat" menu and 3 toolbar buttons are available. To now, we should see a "Tomcat" menu and 3 Tomcat toolbar buttons in the Java view. If you don't see these content, return to the "Window" menu, select "Customize Perspective ..." Item, open the option tree, select the "Other" item and select the "Tomcat" sub-option.
Click Apply to determine
6. Click the shortcut button "Start Tomcat" to launch Tomcat.
Eight, Lomboz installation
1. Unzip LOMBOZ.213.ZIP
2. Put the Directory Lomboz.213 / Plugins Under the folder com.ObjectLearn.jdt.j2ee and com.objectlearn.jdt.j2ee.editors Copy to the plugins directory in the Eclipse installation directory, namely D: / Eclipse / Plugins
3. Start Eclipse
4. Click on the window -> Preferences
Click Lomboz in the left tree, set the JDK Tools.jar position to c: /j2sdk1.4.2_04/lib/tools.jar
Click Lomboz-> Server Definitions in the left tree, set Server Type for Apache Tomcat V5.0.x
Set Application Server Directory to set ClassPath Variable Name for Tomcat_home for C: / Tomcat 5.0
Set ClassPath Variable for C: / Tomcat 5.0
Click Apply to determine.
Nine, easystruts installation
1. Unzip org.easystruts.eclipse_0.6.4.zip
2. Decompression Directory org.easystruts.eclipse_0.6.4 Copy the folder com.cross.easystruts.eclipse_0.6.4 to the plugins directory in the Eclipse installation directory, namely D: / Eclipse / 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-c: /jakarta-struts-1.1/lib/struts.jar
Add TLDs are as follows: struts-tiles.tld-c: /jakarta-struts 1.1/lib/struts-tiles.tld
Struts-template.tld-c: /jakarta-struts-1.1/lib/struts-template.tld
Struts-nested.tld-c: /jakarta-struts-1.1/lib/struts-nested.tldstruts-logic.tld-c: /jakarta-struts-1.1/lib/struts-logic.tld
Struts-html.tld-c: /jakarta-struts-1.1/lib/struts-html.tld
Struts-bean.tld-c: /jakarta-struts-1.1/lib/struts-bean.tld
Click Apply to determine. At this point, all the plugins that need are installed. Since the next time, how to develop the Struts application with Eclipse.