1
0
mirror of https://github.com/minio/docs.git synced 2025-07-30 07:03:26 +03:00

Adding content and instructions for SDKs

This commit is contained in:
Daryl White
2022-06-27 13:11:34 -05:00
parent 79e342b6d4
commit 8d15d1714a
12 changed files with 4043 additions and 55 deletions

View File

@ -12,19 +12,19 @@ Java 1.8 or above.
<dependency>
<groupId>io.minio</groupId>
<artifactId>minio</artifactId>
<version>8.4.0</version>
<version>8.4.2</version>
</dependency>
```
## Gradle usage
```
dependencies {
implementation("io.minio:minio:8.4.0")
implementation("io.minio:minio:8.4.2")
}
```
## JAR download
The latest JAR can be downloaded from [here](https://repo1.maven.org/maven2/io/minio/minio/8.4.0/)
The latest JAR can be downloaded from [here](https://repo1.maven.org/maven2/io/minio/minio/8.4.2/)
## Quick Start Example - File Uploader
This example program connects to an object storage server, makes a bucket on the server and then uploads a file to the bucket.
@ -92,12 +92,12 @@ public class FileUploader {
#### Compile FileUploader
```sh
$ javac -cp minio-8.4.0-all.jar FileUploader.java
$ javac -cp minio-8.4.2-all.jar FileUploader.java
```
#### Run FileUploader
```sh
$ java -cp minio-8.4.0-all.jar:. FileUploader
$ java -cp minio-8.4.2-all.jar:. FileUploader
'/home/user/Photos/asiaphotos.zip' is successfully uploaded as object 'asiaphotos-2015.zip' to bucket 'asiatrip'.
$ mc ls play/asiatrip/