> For the complete documentation index, see [llms.txt](https://vinayak-titti.gitbook.io/appium-cookbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vinayak-titti.gitbook.io/appium-cookbook/set-up/java-client.md).

# java-client

## Language Bindings:

Java language binding for writing Appium Tests, conforms to Mobile JSON Wire & W3C Webdriver Protocol

### Pre-condition:

Install .maven or gradle build tool on local.&#x20;

#### Set-up:

Add the below jitpack.io repo & java-client dependency to the pom.xml or gradle file

Maven:

```
<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
```

```bash
<dependency>
    <groupId>com.github.appium</groupId>
    <artifactId>java-client</artifactId>
    <version>latest commit ID from master branch</version>
</dependency>
```

Gradle:

```bash
allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}
```

```bash
dependencies {
    implementation 'com.github.appium:java-client:latest commit id from master branch'
}
```
