First Glimpse java--2 (download eclipse, install the Tomcat plugin)

Source: Internet
Author: User

First, the software download

    • Eclipse3.6 IDE for Java EE developers:: http://eclipse.org/downloads/
    • Tomcat Eclipse Plugin,: http://www.eclipsetotale.com/tomcatPlugin.html

Eclipse version: eclipse-3.7 required Tomcat plugin version: Tomcatpluginv33.zip

Eclipse version: eclipse-4.5 required Tomcat plugin version: Tomcatpluginv331.zip

Apache-tomcat version: Apache-tomcat-7.0.63.zip

  Details: Different versions of Eclipse require different tomcat plugins (download the latest version)

Second, software Installation and configuration (graphic)

1. Unzip the eclipse into a directory, such as/usr/local/eclipse.

You can see the Eclipse Installer Installer, double-click it, pop up the installation page, you can choose a variety of different languages of the development environment (including Java, C + +, Java EE, PHP, etc.):

Fourth Step: Select the installation directory

Select the installation directory for the IDE:

Fifth step: Wait for the installation to complete

After selecting the installation directory, click "Install", then we wait for the installation to be completed, we can use:

Using Eclipse

Eclipse is a Java-based extensible development platform, so before installing eclipse you need to make sure that your PC is installed JDK,JDK installed to see our Java Development environment configuration.

The first time you need to set up a working environment, you can specify the working directory, or use the default C working directory, click the OK button.

To create a project: Select File--new--java Project:

Enter a project name, such as I enter Test, then click Finish

Complete the project creation, click the small icon in the red box,

Then select the test item on the left menu and right-click--new--class

Type the name of the class, such as enter test, and then click Finish

This way you can start typing code in the code box!

2. Unzip the Tomcat plugin into the plugins directory in the Eclipse directory. Then Tomcat is configured

    1. Right-click on the project->properties

    2. Under ' Tomcat ' under ' General ' tab, Tick ' is a Tomcat Project ' and select the boot path to WebApp

    3. Under ' Tomcat ' under ' Export to War Settings ' tab, enter the path and file name of the war file to export, OK, return project

    4. Right-click on Project->tomcat project->export to the war file sets in Project Properties build War Package

    5. Packaged successfully, see the generated war file under the specified directory!

First Glimpse java--2 (download eclipse, install the Tomcat plugin)

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.