diff --git a/changelog.mdx b/changelog.mdx
index c4eeca9f2..b8e7de46c 100644
--- a/changelog.mdx
+++ b/changelog.mdx
@@ -7,6 +7,15 @@ keywords: ["changelog", "API updates", "release notes", "what's new", "API chang
To subscribe to updates, please [**“Turn on notifications”**](https://help.x.com/en/managing-your-account/notifications-on-mobile-devices#:~:text=In%20the%20top%20menu,%20you,you%20would%20like%20to%20receive) for [**@API**](https://x.com/api). You can also follow this changelog in your feed reader via the [**RSS feed**](https://docs.x.com/changelog/rss.xml).
+
+ ### Java 8+ support for Chat XDK (`com.x:chatxdk`) and Java XDK (`com.x:xdk`)
+
+ Both official Java libraries on Maven Central now target **Java 8+** (previously Java 17+):
+
+ - **Chat XDK (`com.x:chatxdk:0.7.8`):** Lowered minimum JVM version to Java 8 with no public API changes, bundling native libraries for macOS (`arm64`, `x64`), Linux (`x64`, `arm64`), and Windows (`x64`). See [Chat XDK](/xchat/xchat-xdk).
+ - **Java XDK (`com.x:xdk:0.4.0`):** Lowered minimum JVM version to Java 8 with an Apache HttpClient 5 default transport supporting full streaming and idle-timeout recovery on Java 8+. See [Java XDK](/xdks/java/overview).
+
+
### `x-request-id`, `Retry-After`, and actionable `429` error details
diff --git a/enterprise-api/getting-started/important-resources.mdx b/enterprise-api/getting-started/important-resources.mdx
index 55955c48a..c48b2af65 100644
--- a/enterprise-api/getting-started/important-resources.mdx
+++ b/enterprise-api/getting-started/important-resources.mdx
@@ -36,7 +36,7 @@ Bookmark these essential resources for X API development.
| [Postman Collection](https://www.postman.com/xapidevelopers/x-api-public-workspace/collection/34902927-2efc5689-99c6-4ab6-8091-996f35c2fd80) | Interactive API testing |
| [Python SDK](/xdks/python/overview) | Official Python library (`xdk`) |
| [TypeScript SDK](/xdks/typescript/overview) | Official TypeScript/JavaScript library (`@xdevplatform/xdk`) |
-| [Java SDK](/xdks/java/overview) | Official Java 17+ library (`com.x:xdk`) |
+| [Java SDK](/xdks/java/overview) | Official Java 8+ library (`com.x:xdk`) |
| [C# SDK](/xdks/csharp/overview) | Official .NET 8+ library (`XDevPlatform.Xdk`) |
| [OpenAPI Spec](https://api.x.com/2/openapi.json) | Machine-readable API specification |
diff --git a/enterprise-api/introduction.mdx b/enterprise-api/introduction.mdx
index 950880eeb..893cf96d0 100644
--- a/enterprise-api/introduction.mdx
+++ b/enterprise-api/introduction.mdx
@@ -227,7 +227,7 @@ Enterprise access powers the most demanding use cases on X.
Official TypeScript/JavaScript library (`@xdevplatform/xdk`).
- Official Java 17+ library (`com.x:xdk`).
+ Official Java 8+ library (`com.x:xdk`).
Official .NET 8+ library (`XDevPlatform.Xdk`).
diff --git a/important-resources.mdx b/important-resources.mdx
index 740402781..1416f9f56 100644
--- a/important-resources.mdx
+++ b/important-resources.mdx
@@ -37,7 +37,7 @@ Bookmark these essential resources for X API development.
| [Postman Collection](https://www.postman.com/xapidevelopers/x-api-public-workspace/collection/34902927-2efc5689-99c6-4ab6-8091-996f35c2fd80) | Interactive API testing |
| [Python SDK](/xdks/python/overview) | Official Python library (`xdk`) |
| [TypeScript SDK](/xdks/typescript/overview) | Official TypeScript/JavaScript library (`@xdevplatform/xdk`) |
-| [Java SDK](/xdks/java/overview) | Official Java 17+ library (`com.x:xdk`) |
+| [Java SDK](/xdks/java/overview) | Official Java 8+ library (`com.x:xdk`) |
| [C# SDK](/xdks/csharp/overview) | Official .NET 8+ library (`XDevPlatform.Xdk`) |
| [OpenAPI Spec](https://api.x.com/2/openapi.json) | Machine-readable API specification |
diff --git a/tools-and-libraries.mdx b/tools-and-libraries.mdx
index bf521aa06..8267a0c1d 100644
--- a/tools-and-libraries.mdx
+++ b/tools-and-libraries.mdx
@@ -23,7 +23,7 @@ Client libraries for the X API v2, generated from the OpenAPI spec with auth, pa
`npm install @xdevplatform/xdk` · Node.js 18+
- `com.x:xdk` · Java 17+
+ `com.x:xdk` · Java 8+
`dotnet add package XDevPlatform.Xdk` · .NET 8+
diff --git a/tools/java-xdk.mdx b/tools/java-xdk.mdx
index d9021fae6..5ab604469 100644
--- a/tools/java-xdk.mdx
+++ b/tools/java-xdk.mdx
@@ -5,11 +5,11 @@ description: Java client library for the X API v2.
keywords: ["Java SDK", "XDK", "Java", "Kotlin", "Maven", "Gradle", "com.x:xdk", "X API"]
---
-`com.x:xdk` ([GitHub](https://github.com/xdevplatform/xdk-java)) is the official Java client library for the X API v2 (Java 17+ and Kotlin).
+`com.x:xdk` ([GitHub](https://github.com/xdevplatform/xdk-java)) is the official Java client library for the X API v2 (Java 8+ and Kotlin).
- `com.x:xdk:0.3.0` · Java 17+
+ `com.x:xdk:0.4.0` · Java 8+
Source code and issues.
@@ -26,25 +26,25 @@ keywords: ["Java SDK", "XDK", "Java", "Kotlin", "Maven", "Gradle", "com.x:xdk",
com.x
xdk
- 0.3.0
+ 0.4.0
```
```kotlin Gradle (Kotlin DSL)
dependencies {
- implementation("com.x:xdk:0.3.0")
+ implementation("com.x:xdk:0.4.0")
}
```
```groovy Gradle (Groovy)
dependencies {
- implementation 'com.x:xdk:0.3.0'
+ implementation 'com.x:xdk:0.4.0'
}
```
-Requires JDK 17+.
+Requires JDK 8+.
---
diff --git a/x-api/introduction.mdx b/x-api/introduction.mdx
index 920a1bfcf..d7a7df090 100644
--- a/x-api/introduction.mdx
+++ b/x-api/introduction.mdx
@@ -165,7 +165,7 @@ Earn free [xAI API](https://docs.x.ai) credits when you purchase X API credits
Official TypeScript/JavaScript library (`@xdevplatform/xdk`).
- Official Java 17+ library (`com.x:xdk`).
+ Official Java 8+ library (`com.x:xdk`).
Official .NET 8+ library (`XDevPlatform.Xdk`).
diff --git a/xchat/getting-started.mdx b/xchat/getting-started.mdx
index 47f49043f..1823fec1c 100644
--- a/xchat/getting-started.mdx
+++ b/xchat/getting-started.mdx
@@ -79,7 +79,7 @@ X Chat apps use two pieces together:
```
- Available on Maven Central. The jar bundles the native library for macOS (arm64, x64), Linux (x64), and Windows (x64); no `jna.library.path` setup is needed. Import from `com.x.chatxdk`. Requires JDK 17+.
+ Available on Maven Central. The jar bundles the native library for macOS (arm64, x64), Linux (x64, arm64), and Windows (x64); no `jna.library.path` setup is needed. Import from `com.x.chatxdk`. Requires JDK 8+.
diff --git a/xchat/migrate-from-legacy-dms.mdx b/xchat/migrate-from-legacy-dms.mdx
index db7da4b3e..7293cff61 100644
--- a/xchat/migrate-from-legacy-dms.mdx
+++ b/xchat/migrate-from-legacy-dms.mdx
@@ -63,7 +63,7 @@ Existing conversations are upgraded on X's side — you do **not** need to migra
| **Python** (`chatxdk`, `import chat_xdk`) | `pip install chatxdk` | Python 3.10+. Supports Juicebox unlock and `export_keys` / `import_keys`. |
| **JS / TS (browser)** (`@xdevplatform/chat-xdk`) | `npm install @xdevplatform/chat-xdk juicebox-sdk` | WASM for browsers and Node 18+. Keys stay in Juicebox secure key backup (**no key export**). |
| **Node.js (server)** (`@xdevplatform/chat-xdk-server`) | `npm install @xdevplatform/chat-xdk-server` | Server-side `exportKeys` / `importKeys`. Never bundle into a browser app. |
- | **Go, Rust, .NET 8+, JVM (JDK 17+)** | See [Chat XDK](/xchat/xchat-xdk) | Native bindings supporting `export_keys` / `import_keys`. Go ships prebuilt libraries for macOS and Linux `amd64` only (on Linux `ARM64`, use Python or `@xdevplatform/chat-xdk-server`). Java 8 is not supported. |
+ | **Go, Rust, .NET 8+, JVM (JDK 8+)** | See [Chat XDK](/xchat/xchat-xdk) | Native bindings supporting `export_keys` / `import_keys`. Go ships prebuilt libraries for macOS and Linux `amd64` only (on Linux `ARM64`, use Python or `@xdevplatform/chat-xdk-server`). |
There are no Ruby or PHP bindings — run encryption in a small service in a supported language and call it from your app. For REST transport, use the official XDK (`pip install xdk` / `npm install @xdevplatform/xdk`) or any HTTP client.
@@ -618,7 +618,7 @@ For SDK-specific cryptography, backup recovery, and decryption issues, see [Fix
- Python, JavaScript/TypeScript (browser, plus `@xdevplatform/chat-xdk-server` for Node), Go, Rust, .NET 8+, and JVM (JDK 17 or later; Java 8 is not supported). There is no Ruby or PHP binding — run encryption in a small service in a supported language and call it from your app. Go ships prebuilt libraries for macOS and Linux `amd64` only; on Linux `ARM64`, use the Python or Node server package. Do not write your own encryption.
+ Python, JavaScript/TypeScript (browser, plus `@xdevplatform/chat-xdk-server` for Node), Go, Rust, .NET 8+, and JVM (JDK 8 or later). There is no Ruby or PHP binding — run encryption in a small service in a supported language and call it from your app. Go ships prebuilt libraries for macOS and Linux `amd64` only; on Linux `ARM64`, use the Python or Node server package. Do not write your own encryption.
diff --git a/xchat/xchat-xdk.mdx b/xchat/xchat-xdk.mdx
index 249361518..e1465681d 100644
--- a/xchat/xchat-xdk.mdx
+++ b/xchat/xchat-xdk.mdx
@@ -66,7 +66,7 @@ App walkthrough: [Getting Started](/xchat/getting-started). Sample bots: [chat-x
```
- Available on Maven Central. The jar bundles the native library for macOS (arm64, x64), Linux (x64), and Windows (x64); no `jna.library.path` setup is needed. Import from `com.x.chatxdk`. Requires JDK 17+.
+ Available on Maven Central. The jar bundles the native library for macOS (arm64, x64), Linux (x64, arm64), and Windows (x64); no `jna.library.path` setup is needed. Import from `com.x.chatxdk`. Requires JDK 8+.
diff --git a/xdks/java/install.mdx b/xdks/java/install.mdx
index b21b7a318..183262d94 100644
--- a/xdks/java/install.mdx
+++ b/xdks/java/install.mdx
@@ -4,7 +4,7 @@ sidebarTitle: Install
description: Add the Java XDK to a Maven or Gradle project.
---
-Install `com.x:xdk` from [Maven Central](https://central.sonatype.com/artifact/com.x/xdk). Requires JDK 17+.
+Install `com.x:xdk` from [Maven Central](https://central.sonatype.com/artifact/com.x/xdk). Requires JDK 8+.
@@ -12,19 +12,19 @@ Install `com.x:xdk` from [Maven Central](https://central.sonatype.com/artifact/c
com.x
xdk
- 0.3.0
+ 0.4.0
```
```kotlin Gradle (build.gradle.kts)
dependencies {
- implementation("com.x:xdk:0.3.0")
+ implementation("com.x:xdk:0.4.0")
}
```
```groovy Gradle (build.gradle)
dependencies {
- implementation 'com.x:xdk:0.3.0'
+ implementation 'com.x:xdk:0.4.0'
}
```
diff --git a/xdks/java/overview.mdx b/xdks/java/overview.mdx
index d486e52c4..def141a68 100644
--- a/xdks/java/overview.mdx
+++ b/xdks/java/overview.mdx
@@ -4,11 +4,11 @@ sidebarTitle: Overview
description: Java client library for the X API v2.
---
-`com.x:xdk` is the official Java SDK for the X API v2 (Java 17+ and Kotlin). It includes typed models, OAuth 2.0 PKCE and OAuth 1.0a auth, `Paginator`, and `EventStream`.
+`com.x:xdk` is the official Java SDK for the X API v2 (Java 8+ and Kotlin). It includes typed models, OAuth 2.0 PKCE and OAuth 1.0a auth, `Paginator`, and `EventStream`.
- `com.x:xdk:0.3.0` · Java 17+
+ `com.x:xdk:0.4.0` · Java 8+
Source code and issues.
diff --git a/xdks/java/reference/overview.mdx b/xdks/java/reference/overview.mdx
index db0854771..176d74e86 100644
--- a/xdks/java/reference/overview.mdx
+++ b/xdks/java/reference/overview.mdx
@@ -8,7 +8,7 @@ Client setup and method reference for `com.x:xdk` `v0.3.0`.
- `com.x:xdk` `v0.3.0` · Java 17+
+ `com.x:xdk` `v0.4.0` · Java 8+
Source code and issues.
diff --git a/xdks/overview.mdx b/xdks/overview.mdx
index adc802bb2..981d613a3 100644
--- a/xdks/overview.mdx
+++ b/xdks/overview.mdx
@@ -15,7 +15,7 @@ The X Developer Kits (XDKs) are X's client libraries for the X API v2, generated
`npm install @xdevplatform/xdk` · Node.js 18+
- `com.x:xdk` · Java 17+
+ `com.x:xdk` · Java 8+
`dotnet add package XDevPlatform.Xdk` · .NET 8+
@@ -30,7 +30,7 @@ The X Developer Kits (XDKs) are X's client libraries for the X API v2, generated
| :--- | :--- | :--- | :--- | :--- |
| **Python** | `xdk` | Python 3.8+ | [PyPI](https://pypi.org/project/xdk/) | [xdk-python](https://github.com/xdevplatform/xdk-python) |
| **TypeScript / JS** | `@xdevplatform/xdk` | Node.js 18+ | [npm](https://www.npmjs.com/package/@xdevplatform/xdk) | [xdk-typescript](https://github.com/xdevplatform/xdk-typescript) |
-| **Java** | `com.x:xdk:0.3.0` | Java 17+ | [Maven Central](https://central.sonatype.com/artifact/com.x/xdk) | [xdk-java](https://github.com/xdevplatform/xdk-java) |
+| **Java** | `com.x:xdk:0.4.0` | Java 8+ | [Maven Central](https://central.sonatype.com/artifact/com.x/xdk) | [xdk-java](https://github.com/xdevplatform/xdk-java) |
| **C# / .NET** | `XDevPlatform.Xdk` | .NET 8.0+ | [NuGet](https://www.nuget.org/packages/XDevPlatform.Xdk) | [xdk-csharp](https://github.com/xdevplatform/xdk-csharp) |
---