Eclipse Tools Installation

Source: Internet
Author: User
Tags compact

Statement: The material used in this column is written by the VIP students of the Kay Academy, who has the right to be anonymous and has the final right to interpret the article; The Edith Academy is designed to promote students to learn from each other on the basis of public notes.

1.Windows Eclipse (three steps):
① Download the Eclipse compact package;
② extract the eclipse compression package;
③ Open the Eclipse.exe, the JDK must be configured properly.
: http://www.eclipse.org/downloads/eclipse-packages/

Http://ftp.yzu.edu.tw/eclipse/technology/epp/downloads/release/oxygen/R/eclipse-jee-oxygen-R-win32-x86_64.zip

After download, unzip the package directly into the folder, then open the run Eclipse.exe (the JDK environment variable must be configured, at least to configure path)

2.Centos Eclipse:
①:http://www.eclipse.org/downloads/eclipse-packages/;
② Download the Eclipse compact package;
③ the Eclipse compression package, then open the Eclipse program inside;
④ the environment variables of the JDK must be configured before opening, otherwise it will not open eclipse;
3. The industry's Java development tools:
①jbuilder②jcreator
③netbeans④idea
⑤eclipse support for Java EE development; IBM
: http://www.eclipse.org;
⑥myeclipse: Support for Java EE Development based on plug-ins made above Eclipse development tools
4.Eclipse How to use:
① Open Eclipse.exe;
② reminds you to set or select a work clip,

Why a work clip? Because the project and operation files created in the future are in this folder, and the configuration of the tool settings information is in this directory;

③ next time do not ask, directly into this choice of work space,

④ can be manually set to a clip, as a future work area,

⑤ Restart the development tool (restart).
5. You can adjust the skin window>> properties of the Eclipse software:
① Open Properties (all of the eclipse's configuration information is in this menu),

② set the skin effect of the window,

6. You can modify the code font:
① Modify the Code font,

② the selected base font, all the code blocks will change,

7.Eclipse is automatically compiled by default:
① Automatic compilation options,

② as long as you save the code will be automatically compiled,

Remove the tick, it will become a manual compilation, after the completion of their own to click on the build to compile, you can use

Clears the compiled class file.

8. Default working space settings,

9. Create a project in eclipse
① before we do the development is such a step:
A. Create a file;
B. Then write the code;
C. Compile and run.
② benefits of creating a project:
1) independent environment configuration;
2) code partition storage.

③ Project creation: Java Project

1) Common Java Engineering,

2) plug-in engineering,

3) project name you're going to have a name for yourself,

4) The project storage path, by default in the working space, if you want to put under the other path can also,

5) You can choose a path for yourself,

This is the JDK selection, which is your project operating environment;

6) If you want to configure a JDK yourself, follow the configuration below.

④ can configure the JDK itself
1) Point-to-open configuration:

Or click on the attribute:

2) Add JDK: Click Add

3) Select the path to the JDK:

You can also start a name again.
The Java engineering structure created by 10.Eclipse,

① Point Open Project Properties:

② Select the path of the project:

11. Create a class file:

① Select Create class file:

② source path (typically not selected by default):

③ This is the package option (now no management, direct emptying):

④ fill in the class name:

⑤ Choose if you want to build a Main method for you:

⑥ If there is no source package, you create one, a project can have a lot of source packages:

12. Simple shortcut keys:
①alt+/himself to fill the whole;
②ctrl+1 prompt modification;
③ctrl+/comments.
13. How to run the class (first you must have the correct main method to run):
① Click the Run button to run:

② Right-click in the code blank area of the class:

③ Press F11 on the keyboard.
14. Window:
① Project window is a project:

② Error Summary window, all error messages are displayed here:

③ Introduction to documentation notes:

④ Console window (all printed data is displayed in the console, this control can not display a lot of information, will be washed away):

⑤ tasks:

⑥ Structure Introduction:

⑦ Add window: If you accidentally close it, you can add it from the inside.
There are many windows to add:

There are more Windows to click on the following options:

⑧ window can be dragged freely: RESET reset

15. Error:
① code syntax error, unable to prompt correction;
② code syntax error, prompt can help you fix, not necessarily is you want to fix;
③ WARNING: This variable has been requested for unused.
16. Import and Export project:
① copy process is very simple, directly to the project copy can be;
② Import Project:

③ Select your project path:

④ Check this option means to copy the project to your workspace:

Eclipse Tools Installation

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.