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