Skip to content

Commit 56f7eaa

Browse files
Merge pull request #464 from couchbase/java-25
Advertise support for Java 25
2 parents 7cfa985 + 715113e commit 56f7eaa

File tree

6 files changed

+13
-10
lines changed

6 files changed

+13
-10
lines changed

antora.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ asciidoc:
1919
sdk_dot_major: '3.x'
2020
version-server: '7.6'
2121
version-common: '8.0'
22+
java_latest_lts_version: '25'
2223
name_platform: 'Java'
2324
name-sdk: Java SDK
2425
sdk_api: '3.8'

modules/hello-world/pages/start-using-sdk.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ For the example code below to run, you'll need the username and password of the
9393
* The Java SDK is tested against LTS versions of Oracle JDK and OpenJDK --
9494
see the xref:project-docs:compatibility.adoc#jdk-compat[compatibility docs].
9595
+
96-
https://adoptium.net/[OpenJDK 21 with HotSpot JVM] is recommended.
96+
https://adoptium.net/[OpenJDK {java_latest_lts_version} with HotSpot JVM] is recommended.
9797

9898
The code examples also assume:
9999

@@ -134,7 +134,7 @@ In production, Couchbase strongly recommends setting up users with more granular
134134

135135
== Installation
136136

137-
We recommend running the latest Java LTS version (i.e. at the time of writing JDK 21) with the highest patch version available.
137+
We recommend running the latest Java LTS version (i.e. at the time of writing JDK {java_latest_lts_version}) with the highest patch version available.
138138
// Other supported Java versions will work, too.
139139
Couchbase publishes all stable artifacts to https://central.sonatype.com/namespace/com.couchbase.client[Maven Central].
140140

@@ -625,7 +625,7 @@ include:devguide::example$StartUsing.java[tags=start-using,indent=0]
625625
626626
== Quick Installation
627627
628-
We recommend running the latest Java LTS version (i.e. at the time of writing JDK 21) with the highest patch version available.
628+
We recommend running the latest Java LTS version (i.e. at the time of writing JDK {java_latest_lts_version}) with the highest patch version available.
629629
// Other supported Java versions will work, too.
630630
Couchbase publishes all stable artifacts to https://central.sonatype.com/namespace/com.couchbase.client[Maven Central].
631631

modules/hello-world/pages/student-record-developer-tutorial.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ If you wish to use a standalone or Docker installation of Couchbase, see the xre
1717

1818
* Before starting this tutorial, you must have a Couchbase Capella account.
1919
If you do not have one already, xref:cloud:get-started:create-account.adoc[Create an Account].
20-
* Install the Java Software Development Kit (JDK) -- Couchbase JVM SDKs are compatible with version 8, 11, 17, or 21.
21-
** The recommended version is the latest Java LTS release, which is currently https://adoptium.net/en-GB/[JDK 21].
20+
* Install the Java Software Development Kit (JDK) -- Couchbase JVM SDKs are compatible with LTS versions of Java.
21+
** The recommended version is the latest Java LTS release, which is currently https://adoptium.net/[JDK {java_latest_lts_version}].
2222
Ensure you install the highest available patch for the LTS version.
2323
* Install Apache Maven (version 3+)
2424

modules/project-docs/pages/compatibility.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ Plus notes on Cloud, networks, and AWS Lambda.
1010
{description}
1111

1212

13-
The {sdk_dot_minor} SDK requires Java 8 or later to be installed, _Java 21 is recommended_.
13+
The {sdk_dot_minor} SDK requires Java 8 or later to be installed.
14+
_Java {java_latest_lts_version} is recommended_.
1415

1516

1617

@@ -21,11 +22,12 @@ The {sdk_dot_minor} SDK requires Java 8 or later to be installed, _Java 21 is re
2122

2223
The {name-sdk} is tested with Oracle JDK and OpenJDK.
2324
Other JDK implementations might work but are not tested and are unsupported.
24-
We recommend running the latest LTS version (i.e. at the time of writing JDK 21) with the highest patch version available.
25+
We recommend running the latest LTS version (i.e. at the time of writing JDK {java_latest_lts_version}) with the highest patch version available.
2526

2627
The following JDK releases are supported:
2728

28-
* https://adoptium.net/[OpenJDK 21 with HotSpot JVM] (recommended)
29+
* https://adoptium.net/[OpenJDK 25 with HotSpot JVM] (recommended)
30+
* https://adoptium.net/[OpenJDK 21 with HotSpot JVM]
2931
* https://adoptium.net/[OpenJDK 17 with HotSpot JVM]
3032
* https://www.oracle.com/java/technologies/downloads/#jdk17[Oracle JDK 17]
3133
* https://adoptium.net/[OpenJDK 11] (Hotspot recommended) or https://www.oracle.com/java/technologies/downloads/#jdk11[Oracle JDK 11]

modules/project-docs/pages/migrating-sdk-code-to-3.n.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The Java SDK 3.x is available for download from the same resources as the previo
4646
In addition, a `zip` file is available with the required jars.
4747
Please see the xref:sdk-release-notes.adoc[Release Notes] for up-to-date information.
4848

49-
IMPORTANT: Java SDK 3.x has a minimum required Java version of 8, although we recommend running the latest LTS version (i.e. at the time of writing JDK 21) with the highest patch version available.
49+
IMPORTANT: Java SDK 3.x has a minimum required Java version of 8, although we recommend running the latest LTS version (i.e. at the time of writing JDK {java_latest_lts_version}) with the highest patch version available.
5050

5151
Note that the transitive dependency list has changed.
5252
As a refresher, Java SDK 2 depended on the following artifacts:

modules/project-docs/pages/sdk-full-installation.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The underlying OS normally makes no difference, but library incompatibilities in
2828

2929
At least Java 8 is required for current releases;
3030
see the xref:project-docs:compatibility.adoc#jdk-compat[Compatibility] section for details.
31-
We recommend running the latest Java LTS version (i.e. at the time of writing JDK 21) with the highest patch version available.
31+
We recommend running the latest Java LTS version (i.e. at the time of writing JDK {java_latest_lts_version}) with the highest patch version available.
3232

3333
Couchbase publishes all stable artifacts to https://central.sonatype.com/namespace/com.couchbase.client[Maven Central].
3434
The latest version of the {sdk_dot_minor} SDK is https://central.sonatype.com/artifact/com.couchbase.client/java-client/{sdk_current_version}/jar[{sdk_current_version}].

0 commit comments

Comments
 (0)