Eclipse Installation Tutorials

Source: Internet
Author: User



Eclipse Installation Tutorial One: installation package download:

Link: https://pan.baidu.com/s/1qZtt62o Password: 4AK2

Note: If the download link is invalid, please see the QQ group posted in this article, please contact the group owner.


Two: Installation tutorial

Next step until the end


Three: Eclipse configuration: 1.jre

Window-->preferences-->java-->installed Jres2.tomcat

Window-->preferences-->server-->runtime environments


Eclipse does not have a server environment, and we need to configure it ourselves here. Just now, let's say that your Tomcat has been downloaded and unzipped. Then click Window-preferences-server-runtime Environment-add in the Eclipse menu bar, as shown in

Then select the corresponding Tomcat version and select the previous Tomcat installation directory. As shown, here is the Tomcat 8.0 version of the server. After selecting the Tomcat directory, you can select the JRE version below, and the JDK8 is installed before the machine. So pull down and choose without workbench. After all, JDK8 and Tomcat8 are better suited. haha haha. Finally select Finish. Then the server environment is built.

3.maven

Window-->preferences-->maven

Configure your locally installed Maven into eclipse

-->installations

Add a local Maven Setting.xml profile file to eclipse

-->user Settings


4, Interface font settings

This step is due to the fact that Eclipse's default font is very ugly and the code looks uncomfortable. So set up, easy to read. Open Window-preferences-general-appearance-colors and Fonts in turn, then select Basic-text Fonts-edi inside Colors and Fonts on the right side of the interface T. In general, we can change the font to Courier new. As shown in.


5, Code indentation settings

Code indentation is easy to read, but different people are accustomed to not the same, there are a number of tab keys are two spaces, eclipse default TAB key has 4 spaces. This leads to a lot of problems. According to the survey, people who indent 2 spaces have higher wages. So here we set 2 spaces as a method of uniform indentation. As shown, click Window-preferences-java-code style-formatter-new, create a new one after we change the indent settings on the line, the original 4 changed to 2 and tick Use spaces to indent wrapped lines .


6, Code automatic prompt setting

The Eclipse code hints need to be in English "." Before triggering, this situation is very troublesome when writing keywords or variables such as public private, you must write the complete word yourself. This is very effective in influencing efficiency. This point IntelliJ idea does very well and the automatic hints are simply perfect. So here, let's set up a bit. Click Window-preferences-java-editor-content assit, tick Enable auto acitivation, and in auto Acitivation trigger for Java The dots in the box are changed .abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ(, to this, and then there is an automatic hint.
















——————————————————————————————————————————————————————————————————

Note:

JDK8 The following versions of JDK download

Http://www.oracle.com/technetwork/java/javase/archive-139210.html

User-contributed Oracle account for downloading JDK

[Email protected]

Oracle123

-------------------------------------------------------------------------------------------

Tomcat official website

http://tomcat.apache.org/

-------------------------------------------------------------------------------------------

MAVEN official website

http://maven.apache.org/download.cgi
-------------------------------------------------------------------------------------------

Configuration: Java_home

C:\Program files\java\jdk1.7.0_80

Open cmd test java-version

-------------------------------------------------------------------------------------------

Configure Maven

Maven_home

D:\apache-maven-3.0.4

Open cmd test mvn-version

-------------------------------------------------------------------------------------------

Path is added.

%maven_home%\bin;%java_home%\bin;
-------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

Eclipse official website

https://www.eclipse.org/downloads/eclipse-packages/

Note: The latest version of Eclipse requires JDK8

As for the plug-ins that eclipse needs, download and install them as needed, and be interested in trying

Versions of Eclipse compare:

http://blog.csdn.net/bbirdsky/article/details/49468925

Http://www.cnblogs.com/dudumao/p/3668849.html

Http://www.weixueyuan.net/view/6094.html

Eclipse Installation Tutorials

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.