This topic describes how to install Table Store Java SDK.


Applicable to JDK 6 and later versions.

Installation methods

  • Import the SDK dependency into the maven project.

    To use the Table Store Java SDK in Maven, you only need to add the corresponding dependency to the pom.xml file. This example uses OSS Java SDK 4.10.2. Add the following content to <dependencies>:

  • Install Java SDK by importing the JAR package to Eclipse

    Take the 4.10.2 version as an example. Follow the steps below:

    1. Download the Java SDK package.
    2. Decompress the Java SDK package.
    3. Copy the tablestore-<versionId>.jar file in the decompressed folder and all the files in the lib folder to your project.
    4. Right-click your project name in Eclipse. Select Properties > Java Build Path > Add JARs.
    5. Select all JAR files that you copied in Step 3.

Sample programs

The Table Store Java SDK provides a variety of sample programs for your reference or use. You can decompress the downloaded SDK package and view the sample programs in the examples folder.