Help Center > > Developer Guide> Product Development> Developing an Application> Reference> Preparing the Java Development Environment> Importing Code Example
Importing Code Example
Updated at: Jun 26, 2019 GMT+08:00
- Decompress the API calling code example in Java (click here to obtain).
- After the decompression, copy the Open source components and src folders by pressing Ctrl+C.
Figure 1 Copying the folders
- Open the project created in the Eclipse, select the project name, and paste the copied folders to the project directory.
Figure 2 Pasting the folders
After the paste is complete, files in the src directory are abnormal.Figure 3 Abnormal files in the src directory
- Right-click the project name and choose Open source components directory and click OK.
. In the dialog box displayed, select all .jar files in the Figure 4 Importing .jar files
After the .jar files are imported, files in the src directory become normal.Figure 5 Normal files in the src directory