edit-icon download-icon

Installation

Last Updated: Mar 27, 2018

Prerequisites

Applicable to JDK 6 and later.

Installation methods

Install Java SDK by using Maven

To use the Table Store Java SDK in Maven, you only need to add the corresponding dependency to the pom.xml file. Java SDK v4.3.1 is used as an example. Type the following content in the “dependency” section:

  1. <dependency>
  2. <groupId>com.aliyun.openservices</groupId>
  3. <artifactId>tablestore</artifactId>
  4. <version>4.3.1</version>
  5. </dependency>

Install Java SDK by importing the JAR package to Eclipse

For Java SDK v4.2.1, the process is as follows:

  1. Download the Java SDK.

  2. Decompress the SDK.

  3. Copy the tablestore-<versionId>.jar file in the decompressed folder and copy all the files in the lib folder to your project.

  4. In Eclipse, right-click your project and choose Properties > Java Build Path > Add JARs from the context menu.

  5. Select all JAR files that you have copied in Step 3.

After completing the preceding steps, you can use the Table Store Java SDK in Eclipse.

Sample programs

The Table Store Java SDK provides diverse sample programs for your reference or use. You can get the sample program as follows:

  1. Download and decompress the Table Store Java SDK.

  2. Find the sample programs in the examples folder.

Thank you! We've received your feedback.