Installation and configuration of Eclipse for Jee

Source: Internet
Author: User

Installation and configuration of Eclipse for JeeConfiguration64-bit Eclipse configuration

Configure the JDK for x64 as an environment variable, or add the following code to-vmargs in Eclipse.ini (it is recommended to use jdk1.7 as the boot JDK for Eclipse to improve some performance):

-vmd:/development/jdk1.7 (x64)/BIN/JAVAW

Installing plugins

Jrebel

Official http://zeroturnaround.com/

EGit

The latest version of Eclipse has already installed the plugin natively, so this step can skip

    • Install URL http://download.eclipse.org/egit/updates/

    • SSH2 configuration and key configuration, copy the. SSH directory from the original Cygwin to the system user directory

Subclipse

Official http://subclipse.tigris.org

M2eclipse

The latest version of Eclipse already has a MAVEN plugin installed natively, so this step can skip

Install URL http://download.eclipse.org/technology/m2e/releases/

Properties Editor

Install URL http://propedit.sourceforge.jp/eclipse/updates/

Working Space Configuration
    • Open the Package Explorer to replace the default Project Explorer

Configure Tomcat
    • Server > Runtime environments Add tomcat to try to configure the latest JDK version for backwards compatibility

    • In the server panel, in the book configuration of Tomcat, configure timeouts for start 180, configure the deployment path in server locations

Configure the browser

Configure the Web browser,internal (internal) or external (external) browser and configure the default browser

Modify Font

Modify the default font, reference: enlarge one pixel, otherwise the Chinese font is very small (recommended settings Consolas, General, 11)

Add User Libraries
    • Java 1.4 J2ee1.4.rar

    • Java EE 5 Javaee5.rar


Import Code Format template

Code Template: Codetemplates.xml

Configure Maven

Locate the current user directory (such as Win7:c:\users\username; Winxp:c:\documents and Settings\username; Linux:/home/username), in which a. M2 directory is created, in which a settings.xml

Project configuration:
    • Activate MAVEN configuration, right-click Project Configure > Convert to Maven Project

    • User Libraries added to the Java EE 1.4 or 5

    • Go to property Configuration Project Facets

      1. Dynamic Web Module Select version 2.5

      2. Right runtimes Select Tomcat Service

      3. Configure further configuration available ..., enter the correct content directory, such as Webroot, default WebContent

    • Integrate Maven Lib into release settings in deployment assembly, while adding dependent projects


Installation and configuration of Eclipse for Jee

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.