Help Center/
Distributed Message Service/
Developer Guide/
DMS Kafka Developer Guide/
Java SDK/
Compiling the Sample Project Code
Updated on 2023-11-30 GMT+08:00
Compiling the Sample Project Code
- Download and decompress .
- Import the sample project code.
- On Eclipse, choose File > Import.
- In the Select an import source area, select Exiting Projects Into Workspace.
- Select the directory to which the sample project code DmsKafkaDemo is decompressed.
- Choose Project > Build Project to build the project.
- Export the new JAR file.
- Right-click the sample project DmsKafkaDemo and choose Export from the shortcut menu.
- Choose Java > JAR file. Enter the path and name of the JAR file to be generated.
- Replace the dms.kafka.demo.jar file in the DmsKafkaDemo/dist/libs directory with the new JAR file. Run the newly built project by following the procedure in Running the Sample Project.
Parent topic: Java SDK
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