Installation and configuration of Eclipse

Source: Internet
Author: User

Eclipse's English name is a Japanese eclipse and has always liked the name.

1. Installation is simple, download the eclipse package directly, free of installation. Unzip and locate its execution file.

Click this icon to open Eclipse, and of course you can add a shortcut to the desktop to open it later.

2. It's like this when it's open.

3. Fork out the Welcome page, which is the layout page below.

4. Create a new project, and you can see that eclipse automatically gets the JRE installed in the system (the Java Program Runtime Environment, which is the JRE that was installed by the time we installed the JDK in the previous section)

5. Write a HelloWorld class and run it as follows.

This is a simple console program and you can see that the IDE does a lot of things for us, including finding the path to the JRE, compiling the program and running the program, and so on.

5. If you want to run a Web program, you need to add a Web container to eclipse, which you can do as follows.

This will cause the Server toolbar to appear in the menu bar below, but since Eclipse does not have a related Web server at this time, the following screen appears.

Click the prompt, you can go to the hard drive to search the Web server, here we choose Tomcat.

Select Tomcat8 to complete the configuration, and then you can write the Web program. This is the case when the configuration is complete.

6. You can set the text encoding format, the suggestions are set to UTF-8.

Installation and configuration of Eclipse

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.