Skip to content

Commit

Permalink
Merge pull request #393 from programmatix/release/3.4
Browse files Browse the repository at this point in the history
JVMCBC-1415: Support Java LTS 21

Merging this, as gives clear patch version info
  • Loading branch information
RichardSmedley authored Dec 20, 2023
2 parents 2a67e4a + 782c204 commit a4a71ff
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion modules/hello-world/pages/start-using-sdk.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ include::example$StartUsing.java[tags=start-using,indent=0]

== Quick Installation

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

Expand Down
5 changes: 3 additions & 2 deletions modules/project-docs/pages/compatibility.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ Other versions may work -- _but they are not tested and they are not supported_.

The following JDK releases are supported at time of 3.4 SDK release (October 2022):

* https://adoptium.net/[OpenJDK 11] (Hotspot recommended) or https://www.oracle.com/java/technologies/downloads/#jdk11[Oracle JDK 11]
* https://adoptium.net/[OpenJDK 17 with HotSpot JVM] (recommended)
* https://adoptium.net/[OpenJDK 21 with HotSpot JVM] (recommended) -- from SDK 3.4.11 (may work with earlier SDK releases, but not tested).
* https://adoptium.net/[OpenJDK 17 with HotSpot JVM]
* https://www.oracle.com/java/technologies/downloads/#jdk17[Oracle JDK 17 (recommended)]
* https://adoptium.net/[OpenJDK 11] (Hotspot recommended) or https://www.oracle.com/java/technologies/downloads/#jdk11[Oracle JDK 11]
* https://adoptium.net/[OpenJDK 1.8 with HotSpot JVM]
* https://www.oracle.com/java/technologies/downloads/#java8[Oracle JDK 1.8]

Expand Down
2 changes: 1 addition & 1 deletion modules/project-docs/pages/migrating-sdk-code-to-3.n.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The Java SDK 3.x is available for download from the same resources as the previo
In addition, a `zip` file is available with the required jars.
Please see the xref:sdk-release-notes.adoc[Release Notes] for up-to-date information.

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 11) with the highest patch version available.
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.

Note that the transitive dependency list has changed.
As a refresher, Java SDK 2 depended on the following artifacts:
Expand Down
3 changes: 1 addition & 2 deletions modules/project-docs/pages/sdk-full-installation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ The underlying OS normally makes no difference, but library incompatibilities in

At least Java 8 is required for current releases;
see the xref:project-docs:compatibility.adoc#jdk-compat[Compatibility] section for details.
We recommend running the latest Java LTS version (i.e. at the time of writing JDK 17) with the highest patch version available.
Java 17 has various enhancements like sealed classes, pattern matching for switch expressions (in preview), and further updates and improvements on core libraries.
We recommend running the latest Java LTS version (i.e. at the time of writing JDK 21) with the highest patch version available.

Couchbase publishes all stable artifacts to https://central.sonatype.com/namespace/com.couchbase.client[Maven Central].
The latest version (as of October 2023) is https://central.sonatype.com/artifact/com.couchbase.client/java-client/3.4.11/jar[3.4.11].
Expand Down

0 comments on commit a4a71ff

Please sign in to comment.