Help Center> Image Recognition> SDK Reference> Using Java SDK> Installing Eclipse and Importing SDK Projects

Installing Eclipse and Importing SDK Projects

The following uses Eclipse as an example to describe how to import the SDK project. Operations of other IDEs are similar to those of Eclipse.

  1. Download the eclipse version of the corresponding platform. For example, eclipse-jee-mars-R-win32-x86_64.zip.
  2. Extract and open Eclipse.
  3. Configure the correct JRE path in Windows > Preferences > Java > Installed JREs.
  4. Right-click Package Explorer on the left, and click Import. Choose Maven > Existing Maven Projects, and click Next. Then click Browse, and select the path where ais-image-java-sdk resides.
  5. Click Finish to import the SDK. After the SDK is imported, open the project. Figure 1 shows the project directory.

    Figure 1 Project directory

    When Maven is used for build, the JAR package in the lib directory of the SDK package is the local JAR package on which the project depends. Other dependencies can be configured in the pom.xml file and obtained from the central repository or Huawei open-source image site.