Help Center/
IoT/
Developer Guide/
Product Development/
Developing an Application/
Reference/
Preparing the Java Development Environment/
Importing Code Example
Updated on 2022-02-24 GMT+08:00
Importing Code Example
- 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
Parent topic: Preparing the Java Development Environment
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot