Skip to content
15 changes: 13 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,17 +219,28 @@ workflows:
- check-dependencies
- check-licenses
- check-generate-site
# Java tests matrix for JDK under 25
- tests-java:
matrix:
alias: tests-java-jdk-old
parameters:
exe: [ docker-amd64-image, docker-arm64-image ]
maven-image: [ << pipeline.parameters.default-maven-image >>, "cimg/openjdk:17.0", "cimg/openjdk:20.0", "cimg/openjdk:21.0" ]
maven-image: [ << pipeline.parameters.default-maven-image >>, "cimg/openjdk:17.0", "cimg/openjdk:21.0" ]
# Java test matrix for JDK 25+
- tests-java:
matrix:
alias: tests-java-jdk-25+
parameters:
exe: [ docker-amd64-image, docker-arm64-image ]
maven-image: [ "cimg/openjdk:25.0" ]
arg-line: [ "--add-opens=java.base/java.nio=ALL-UNNAMED --sun-misc-unsafe-memory-access=allow" ]
- deploy-snapshot:
requires:
- check-dependencies
- check-licenses
- check-generate-site
- tests-java
- tests-java-jdk-old
- tests-java-jdk-25+
filters:
branches:
only: main
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## 1.8.0 [unreleased]

### CI

1. [#313](https://github.com/InfluxCommunity/influxdb3-java/pull/313): Clarify JDK 25+ requirements.

## 1.7.0 [2025-11-21]

### Bug Fixes
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@ which allows you to execute SQL queries against InfluxDB IOx.

We offer this [Getting Started: InfluxDB 3.0 Java Client Library](https://www.youtube.com/watch?v=EFnG7rUDvR4) video for learning more about the library.

> :warning: This client requires Java 11 and is compatible up to and including Java 21.
> :warning: This client requires Java 11 and is compatible up to and including Java 25.

## Installation

> :warning: Some JDK internals must be exposed by adding `--add-opens=java.base/java.nio=ALL-UNNAMED` to your JVM arguments.

If you are using JDK 25 or later, you also need to add `--sun-misc-unsafe-memory-access=allow`.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could also modify this sentence few lines above:
This client requires Java 11 and is compatible up to and including Java 21.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thx

Add the latest version of the client to your project:

### Maven dependency
Expand Down
Loading