Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

aliyun-openapi-java-sdk

> 编程语言
Open source

The Alibaba Cloud V1.0 SDK will soon enter the Basic Security Maintenance phase and is no longer recommended for use. V2.0 SDK is available here: https://github

1.4K stars0 likes0 views
WebsiteGitHub

About

The Alibaba Cloud V1.0 SDK will soon enter the Basic Security Maintenance phase and is no longer recommended for use. V2.0 SDK is available here: https://github

English | [简体中文](./README-CN.md)

Alibaba Cloud SDK for Java (V1.0)

> ⚠️ **Important Notice**: Alibaba Cloud V1.0 Java SDK has entered the basic security maintenance phase and is no longer recommended for use. New users should directly use the [V2.0 Java SDK](https://github.com/aliyun/alibabacloud-java-sdk); users who have already integrated the V1.0 Java SDK are also advised to migrate to the [V2.0 Java SDK](https://github.com/aliyun/alibabacloud-java-sdk). > > V2.0 Java SDK usage please refer to [Help Center Documentation](https://help.aliyun.com/zh/sdk/developer-reference/v2-java-sdk) and [Alibaba Cloud OpenAPI Developer Portal](https://next.api.aliyun.com/). The Alibaba Cloud SDK for Java (V1.0) allows you to access Alibaba Cloud services such as Elastic Compute Service (ECS), Server Load Balancer (SLB), and CloudMonitor. You can access Alibaba Cloud services without the need to handle API related tasks, such as signing and constructing your requests. This document introduces how to obtain and call Alibaba Cloud SDK for Java (V1.0). If you have any problem while using Alibaba Cloud SDK for Java (V1.0), please [submit an issue](https://github.com/aliyun/aliyun-openapi-java-sdk/issues/new). ## ⚠️ Migration Notice **Alibaba Cloud V1.0 Java SDK has entered the basic security maintenance phase and is no longer recommended for use.** ### Why migrate to V2.0? - **Better Performance**: Improved architecture and optimized performance - **Enhanced Security**: Modern security practices and credential management - **Active Maintenance**: Ongoing updates and bug fixes - **Richer Features**: New capabilities and improved API design ### Migration Resources - **V2.0 SDK Repository**: [https://github.com/aliyun/alibabacloud-java-sdk](https://github.com/aliyun/alibabacloud-java-sdk) - **V2.0 Documentation**: [https://help.aliyun.com/zh/sdk/developer-reference/v2-java-sdk](https://help.aliyun.com/zh/sdk/developer-reference/v2-java-sdk) - **V1/V2 SDK Differences**: [https://help.aliyun.com/zh/sdk/product-overview/differences-between-v1-and-v2-sdks](https://help.aliyun.com/zh/sdk/product-overview/differences-between-v1-and-v2-sdks) ## Requirements - To use Alibaba Cloud SDK for Java, you must have an Alibaba Cloud account as well as an `AccessKey ID` and an `AccessKey Secret`. Create and view your AccessKey on the [RAM console](https://ram.console.aliyun.com "RAM console") or contact your system administrator. - To use the Alibaba Cloud SDK for Java to access the APIs of a product, you must first activate the product on the [Alibaba Cloud console](https://home.console.aliyun.com) if required. - The Alibaba Cloud Java SDK requires JDK 1.8 or later. ## Installation If you use Apache Maven to manage Java projects, you only need to add corresponding dependencies to the pom.xml files of the projects. You can view the Maven dependencies of different cloud products in [Alibaba Cloud SDK Center](https://api.aliyun.com/api-tools/sdklang?language=java&sdkStyle=old). You must install `aliyun-java-sdk-core` library no matter which product development kit you want to use. For example, to call the ECS SDK, you need to install `aliyun-java-sdk-core` library and `aliyun-java-sdk-ecs` library . To use the Ecs SDK as an example, you only need to declare the following two dependencies in the `pom.xml` file. ```xml com.aliyun aliyun-java-sdk-core [4.6.3,5.0.0) com.aliyun aliyun-java-sdk-ecs [4.16.0,5.0.0) ``` If maven is not downloading jar packages from a central repository, you need to add these dependencies in the pom.xml file, or a NoClassDefFoundError exception will be reported ```xml com.google.code.gson gson 2.10.1 io.opentracing opentracing-api 0.33.0 io.opentracing opentracing-util 0.33.0 ``` ## Troubleshoot [Troubleshoot](https://troubleshoot.api.aliyun.com/?source=github_sdk) Provide OpenAPI diagnosis service to help developers quickly locate and troubleshoot errors by using `RequestID` or `error message`, and provide solutions. ## Quick Examples The following code example shows how to use Alibaba Cloud SDK for Java : ``` … ``` > For security reason, we don't recommend to hard code credentials information in source code. You should access > credentials from external configurations or environment variables. ## Documentation - [Requirements](./docs/0-Requirements-EN.md) - [Installation](./docs/1-Installation-EN.md) - [Client & Credentials](./docs/2-Client-EN.md) - [Connection Pool](./docs/3-Pool-EN.md) - [Timeout](./docs/4-Timeout-EN.md) - [HTTPS Configurations](./docs/5-HTTPS-EN.md) - [Proxy Configurations](./docs/6-Proxy-EN.md) - [Debug](./docs/7-Debug-EN.md) - [Log](./docs/8-Log-EN.md) - [Exception](./docs/9-Exception-EN.md) - [Endpoint](./docs/10-Endpoint-EN.md) ## Issues [Opening an Issue](https://github.com/aliyun/aliyun-openapi-java-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately. ## Changelog Detailed changes for each release are documented in the [release notes](./aliyun-java-sdk-core/ChangeLog.txt). ## Contribution Please make sure to read the [Contributing Guide](CONTRIBUTING.md) before making a pull request. ## References * [Alibaba Cloud Regions & Endpoints](https://developer.aliyun.com/endpoints) * [Alibaba Cloud OpenAPI Portal](https://next.api.aliyun.com/) * [Latest Release](https://github.com/aliyun/aliyun-openapi-java-sdk) * [V2.0 Java SDK Repository](https://github.com/aliyun/alibabacloud-java-sdk) * [V2.0 Java SDK Documentation](https://help.aliyun.com/zh/sdk/developer-reference/v2-java-sdk) ## License [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0) Copyright (c) 2009-present, Alibaba Cloud All rights reserved.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javajavasdkv1

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言