Java development Environment Build-Eclipse Basic Configuration

Source: Internet
Author: User

The eclipse settings include many aspects, different developers, different project needs, and may not have the same settings for Eclipse. The following is only a few of my basic settings to do some records to make a memo. Later, the relevant content will be updated gradually for reference only.

1. Download eclipse

Website: http://www.eclipse.org/downloads/

Eclipse is divided into different versions, each with a slightly different development application area. Some suitable for web application development, some suitable for plug-in development, some suitable for desktop program development. Developers can download different versions of Eclipse based on actual development needs.

In different versions, the settings below can be used as a reference.

2. Configure Eclipse

Click Window---Preferences to enter Eclipse's configuration interface

After entering, the configuration interface looks like this:

1> Setting the workspace encoding

The general engineering code is UTF-8, the eclipse default configuration of the workspace encoding is not UTF-8, refer to the following ways to set.

2> Configuring the JRE

Eclipse typically comes with a JRE. In most cases, however, users expect to choose their own installed JDK environment. As shown in the configuration interface of Eclipse,

Navigate to the intalled jres option and click Add.

Select a standard VM,

Select the installation path for the JDK.

After selecting done, the effect looks like this:

Default JRE with new settings selected

At this point, the JRE configuration setting is complete.

3> configuration file Default Editor

By default, Eclipse has default settings for the association editor for files in projects, but in some cases we prefer not to use the default editor. For example, for a JSP file, the default file association editor is the visual editor that comes with Eclipse.

As a result, double-clicking on a JSP file opens visually, with slow loading and poor user experience. In view of the above, the developer may re-set the file's associated editor to suit their needs. The content is for informational purposes only.

4> Configuring Fonts

The following is a custom modification of Eclipse's default font.

5> Display Line numbers

The line numbers are shown in the following ways:

Java development Environment Build-Eclipse Basic Configuration

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.