Using Eclipse to load an existing Java project

Source: Internet
Author: User



The following import records the steps in the eclipse environment to load the Java source code that has already been downloaded, primarily for cases where the downloaded file is inconvenient for copying to another location. I used this order several times to load the project, but it is a long time to use once, too long to forget, the trouble is very. Just write it down lest you try it again next time.

Files have been downloaded in the local directory with SVN or github
Using File→new→java proejct

Select the Prject under General

Fill out project name. The steps here are most critical because my workspace is set up in the G:\ public group, and the code is downloaded in theg:\ Public Group \ufa directorythe project name is directly named Ufa, and the following automatic path will be exactly the same as the path where I stored the code.
When you are done
Two source code directories will have the package flags.
The following things are simple, the configuration of the JRE version is configured, the processing of reference processing
The code is in Chinese, set the encoding method, such as




After the compilation error itself according to the situation, I here is the need to missing JUnit reference
After Setup, there is no compilation error in the package.
Finish the call.

Using Eclipse to load an existing Java project

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.