Eclipse and Plug-in (Tomcatplugin Lomboz easystruts) installation

Source: Internet
Author: User
Tags copy variables version variable win32 window zip apache tomcat
I. Installation and preparation

Before you install, 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
Note:
 
Software: Tomcat
Version: 5.0.19
Official Download: http://www.apache.org/dist/jakarta/
Note:
 
Software: Struts
Version: 1.1
Official Download: http://www.apache.org/dist/jakarta/struts/
Note:
 
Software: Eclipse
Version: 2.1.3
Official Download: http://www.eclipse.org/downloads/index.php
Note: The latest eclipse version is ECLIPSE3.0R1

Software: Eclipselanguagepack
Version: 2.1.2.1
Official Download: http://www.eclipse.org/downloads/index.php
Note: This version can only be Chinese eclipse2.1.3 and the following version

Software: Tomcatplugin
Version: 2.2.1
Official Download: http://www.sysdeo.com/eclipse/tomcatPlugin.html
Note: This version can only be Chinese eclipse2.1.3 and the following version
 
Software: Lomboz
Version: 2.1.3
Official Download: http://www.objectlearn.com/index.jsp
Note: This version can only be Chinese eclipse2.1.3 and the following version

Software: easystruts
Version: 0.6.4
Official Download: http://sourceforge.net/projects/easystruts
Note: This version can only be Chinese eclipse2.1.3 and the following version
 

The above software version is a successful version of the installation, in order to make your installation is not error, please follow the above version of the software.

Hodesoft employees can access \\192.168.0.23 to obtain

If you are looking for other eclipse plug-ins, you can go to the following site
Http://www.eclipse-plugins.info
 

Second, JDK installation

1. Install J2SE-SDK to E:\j2sdk1.4.2

The partial directory structure is as follows:

E:\j2sdk1.4.2\in

E:\j2sdk1.4.2\lib

E:\j2sdk1.4.2\jre

...

2. The configuration environment variables are 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;

 

three, Tomcat installation

1. Extract Jakarta-tomcat-5.0.19.zip to E:\tomcat

The partial directory structure is as follows:

E:\tomcat\in

E:\tomcat\conf

E:\tomcat\webapps

...

2. The configuration environment variables are as follows:

Tomcat_home = E:\tomcat

Iv. installation of Struts

1. Extract Jakarta-struts-1.1.zip to E:\jakarta-struts-1.1

The partial directory structure is as follows:

E:\jakarta-struts-1.1\lib

E:\jakarta-struts-1.1\webapps

...

v. Eclipse installation

1. Extract Eclipse-sdk-2.1.3-win32.zip to E:\eclipse213

The partial directory structure is as follows:

E:\eclipse213\features

E:\eclipse213\plugins

...

2. Start Eclipse to see if the installation is successful

If the startup is unsuccessful, check to see if the JRE is installed

3. Start Eclipse, click on the menu windows->preferences in the left tree click to expand Java, select installed JREs,

If installed JREs the following is correct:

JRE Type:standard VM
name:j2sdk1.4.2
location:e:\j2sdk1.4.2


vi. Eclipse of the Chinese

1. Unzip Eclipse2.1.2.1-sdk-win32-languagepackfeature.zip to E:\eclipse213

Change directory name eclipse2.1.2.1-sdk-win32-languagepackfeature to Eclipse2.1.2.1language

The partial directory structure is as follows:

E:\eclipse213\eclipse2.1.2.1Language\eclipse\features

E:\eclipse213\eclipse2.1.2.1Language\eclipse\plugins

...

2. Create a new folder links under E:\eclipse213 to make the folder links and folders Eclipse2.1.2.1language siblings

3. Create a new file under E:\eclipse213\links, file name, and here we name Language.link, open this file,

Add path = E:\\eclipse213\\eclipse2.1.2.1language

4. Start Eclipse to see if the Chinese is successful, if unsuccessful please check the configuration information in the Language.link file path =

E:\\eclipse213\\eclipse2.1.2.1language and Chinese folder eclipse2.1.2.1language installation path is a

Induced by

 

Vii. installation of Tomcatplugin

1. Decompression Tomcatpluginv221.zip

2. Copy the extracted directory tomcatPluginV221 the folder com.sysdeo.eclipse.tomcat_2.2.1 to the Eclipse installation

The plugins directory in the record, that is E:\eclipse213\plugins

3. Start eclipse

4. When you start, you'll see one more Drop-down item on your menu, Tomcat, and three more Tomcat cat charts in the shortcut bar, such as

Do not see, please click the window-> custom perspective, expand the tree structure of the "Other", select "Tomcat"

5. Click the window-> preferences

Click Tomcat in the left tree and set Tomcat version to version 5.x

Set Tomcat version to version 5.x

Set Tomcat-home to E:\tomcat

Set perspective to switch when the Tomcat is started Java

Click TOMCAT->JVM setting in the left tree to set the JRE to j2sdk1.4.2

Click Apply OK

6. Click on the shortcut button "start Tomcat" to start Tomcat.

 

Eight, Lomboz installation

1. Decompression Lomboz.213.zip

2. Will extract directory Lomboz.213\plugins 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 the window-> preferences

Click Lomboz in the left tree to set the JDK Tools.jar position as E:\ J2sdk1.4.2\lib\tools.jar

Click Lomboz->server definitions in the left tree to set the server type to Apache Tomcat v5.0.x

Set Application Server directory to E:\tomcat

Set Classpath Variable name to Tomcat_home

Set classpath variable to E:\tomcat

Click Apply OK

 

ix. installation of easystruts

1. Decompression Org.easystruts.eclipse_0.6.4.zip

2. Copy the extracted directory org.easystruts.eclipse_0.6.4 the folder com.cross.easystruts.eclipse_0.6.4 to eclipse

In the plugins directory in the installation directory, that is, E:\eclipse213\plugins

3. Start eclipse

4. Click the window-> preferences

Click Easy Struts in the left tree to select struts1.1

ADD JREs as follows:

Struts.jar-e:\jakarta-struts-1.1\lib\struts.jar

ADD TLDs 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

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 OK

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.