---
title: "Java SDK reference"
description: "This reference covers the Dex Java SDK. Check the resolved version of"
canonical_url: "https://docs.superdurable.io/reference/java/"
source: "docs/reference/java/index.mdx"
locale: "en"
---

# Java SDK reference

This reference covers the Dex Java SDK. Check the resolved version of
**io.superdurable:dex-sdk** in your Gradle or Maven build before you rely on a
detail:

```bash
./gradlew dependencyInsight --dependency io.superdurable:dex-sdk
```

## Install

The Java SDK is the Maven Central artifact **io.superdurable:dex-sdk**. Pin an
exact release:

```text
io.superdurable:dex-sdk:1.35.0
```

The published classes target Java 8 bytecode. Releases use the tag
**sdk-java/vX.Y.Z**.

## Supported versions

| SDK minor              | Server requirement                                                                             |
| ---------------------- | ---------------------------------------------------------------------------------------------- |
| 1.35                   | server-zd 0.1.17 or newer (protocol version 4)                                                 |
| 1.32, 1.31, 1.30, 1.29 | See the [compatibility matrix](https://docs.superdurable.io/reference.md#compatibility-matrix) |

Minor numbers follow the shared Dex release train. A missing minor means the
Java SDK did not change in that release.

## API reference

Read the [Java SDK API reference](https://docs.superdurable.io/api/java/latest/) for the latest release, 1.35.0.

Versioned snapshots: [1.35.0](https://docs.superdurable.io/api/java/1.35/), [1.32.0](https://docs.superdurable.io/api/java/1.32/), [1.31.0](https://docs.superdurable.io/api/java/1.31/), [1.30.0](https://docs.superdurable.io/api/java/1.30/), [1.29.0](https://docs.superdurable.io/api/java/1.29/).

<a id="rpc-stubs-and-kotlin"></a>

## RPC stubs and Kotlin

**Client.newRpcStub** creates a subclass of the Flow. A Java Flow class and its
RPC methods must not be final. Kotlin makes both final by default, so declare
the Flow class and its RPC methods with **open**.

## Pages

- [Workers](https://docs.superdurable.io/reference/java/workers.md): Java names for Worker readiness,
  capacity, and shutdown settings.

## Release notes

See the [sdk-java releases](https://github.com/superdurable/dex/releases?q=sdk-java\&expanded=true)
on GitHub.
