Straight into the chase!
1. First create a folder in the appropriate location-the name is English ———
2. Create a new Java project named First in Eclipse, uncheck use the default location, change the address of the location to the address of the folder in step 1 ——— click " done "
3. In the new first project in the new to import the program in the same name ——— can also be arbitrarily named, but after the successful import, the program at the beginning of the guide package to change the code to your package name
4. Click "File" ——— Select "Import" and select "General" ——— "File System" ——— "next" In the new dialog box.
5. Select "Browse" in the New dialog box to locate the source program, select the program to import, select "To Folder", and change the address to the new folder first package location ——— click "Finish"
6. Importing a successful style
This is the normal method of import, other methods please explore by yourself.
The simple tutorial ends here, thanks for reading!
A simple tutorial for importing Java programs into eclipse