Eclipse installation and use (4)

1. Eclipse download

Eclipse is an open source, Java-based, extensible development platform focused on providing a full-featured, commercial-quality industrial platform for highly integrated tool development. Eclipse is just a framework and set of services for building a development environment through plug-in components. Eclipse comes with a standard set of plug-ins, including Java development tools.

1.1 , Eclipse download

1) Enter the website search box and enter: eclipse to enter the homepage of the official website

 

 

2) Click DOWNLOAD Packages to enter the download page:

 

 

3) Choose the number of digits that suits your computer needs

 

4) Click the digits to jump to the next page, click DOWNLOAD , then find eclipse in the location where you saved it , and install it.

 

1.2 Installation

1 ) Right-click the downloaded installation package

 

2 ) It can be used directly after decompression

 

2. Eclipse configuration

2.1, JDK configuration

1) Run eclipse normally, open window-preferences-java, and the window of the page will pop up

 

2) Click Add to enter a new window, directly select the default 'next', in the next window you can directly configure the basic information of JDK   

 

 

 

2.2, Tomcat configuration

 1 ) tomcat7 is green software, it can be used after decompression, please decompress tomcat to a suitable location first (it is recommended that the entire path is in English),

As shown below:

 

 

 

 

 2) Click window-->preferences to enter the settings page, find server--runtime Environments and enter the server settings page

 

3) Click Add to enter the configuration page. By default, the version number selected is the same as the version number of the downloaded Tomcat. Click 'next' to enter the next page for configuration.

 

Click OK to complete the configuration.

 

3. Eclipse Instructions

3.1 , eclipse menu description

The menu bar viewed by Eclipse usually contains the following menus:

 

File menu

Edit menu

Navigate menu

Search menu

Project menu

Run menu

Window menu

Help menu

 

 

 

 

 

Menu Description :

 

 

 

3.2, eclipse view

Eclipse views allow users to view project metadata more intuitively in graphical form. For example, folder and file graphics displayed in the Project Navigator view represent related projects and properties views in another editing window.

Eclipse perspective (perspective) can display any view and editing window.

All editor instances appear in an editor area, which can be viewed through the folder view.

A workbench window can display any number of folder views. Each folder view can display one or more views.

 

3.2.1 Organization View:

 

The following figure shows the four views of the folder view:


The following figure shows four views in two folder views:


3.2.2 Remove View

To move a view from one folder view to another just click on the title and push the view tool area to another folder view.


3.2.3 Create a folder view

Folder views can be created dynamically by moving the title bar of the view outside the editor or moving the title bar to another folder view. In the image below if you drag the title bar inside the green wireframe it means a new folder view will be created.


By moving the drag icon to the bottom of the window, you can create a view folder that spans the entire width of the window. By moving the drag icon to the left or right of the window, you can create a folder that spans the entire height of the window.

 

3.2.4 Operation View

You can open other views by clicking the "Show View" option in the Window menu .


 

Clicking on the "Other" menu option brings up a "Show View" dialog where you can find and activate views.

 

 

 

Views are organized by categories. You can quickly find views through the search box. Then open the view and select it and click the "OK" button.

 

3.3, eclipse creates a Java project

Java projects can be easily created through the New Java Project wizard. The ways to open the wizard are:

By clicking the "File" menu and selecting New > Java Project

Right-click anywhere in the Project Explorer window and select New > Java Project

On the toolbar click the New button and select Java Project

 

1) Enter the project name ( Project Name column)

2) Select Java Runtime Environment (JRE) or directly use the default

3) Select the project layout ( Project Layout ), the project layout determines whether the source code and class files are placed in separate folders. The recommended option is to create separate folders for source code and class files.

 

You can click the "Finish" button to create the project or click the "Next" button to modify the java build configuration.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325916515&siteId=291194637
Recommended