Install SDK Kit
Last Updated:2020-07-20
Operating Environment
The Java SDK kit runs in the environment of jdk6, jdk7, or jdk8.
Installation Steps
- Download the Java SDK compression kit from Java SDK.
- Decompress the download
bce-java-sdk-version.zip
and copy it to the project folder. - Right-click "Project-> Properties-> Java Build Path-> Add JARs" in Eclipse.
-
Add the SDK
lib/bce-java-sdk-version.jar
and the third-party dependency toolkitthird-party/*.jar
.The
version
means version number.
SDK Directory Structure
com.baidubce
├── auth //BCE signature related class
├── http //BCE Http communication-related class
├── internal //SDK internal class
├── model //BCE public model class
├── services
│ └── bmr //BMR service related class
│ ├── model //BMR internal model, such as Request or Response
│ └── BmrClient.class //BMR client entry class
├── util //BCE public tool class
├── BceClientConfiguration.class //configuration of BCE HttpClient
├── BceClientException.class //BCE client exception class
├── BceServiceException.class //exception class after interaction with BCE server
├── ErrorCode.class //BCE general error code
└── Region.class //BCE service region