Skip to content

Commit d5b302f

Browse files
install / version
1 parent 2862c81 commit d5b302f

1 file changed

Lines changed: 12 additions & 15 deletions

File tree

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

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,18 @@ If you wish to use a standalone or Docker installation of Couchbase, see the xre
1919

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

27+
[TIP]
28+
====
29+
The easiest way to install and manage Java SDKs and Maven on your machine is through https://sdkman.io/install[SDKMan^].
30+
31+
After following the instructions to install SDKMan, open a terminal window and run the commands `sdk install java` and `sdk install maven` to install the latest versions of Java and Maven.
32+
====
33+
2734

2835
[#database-design]
2936
=== Data Model
@@ -211,16 +218,6 @@ This allows you to retrieve other details like the full title of the course or t
211218
== Connecting the Java SDK
212219

213220
After implementing the data model, you can set up a Couchbase SDK and connect it to your cluster to write your first application.
214-
215-
216-
[TIP]
217-
====
218-
The easiest way to install and manage Java SDKs and Maven on your machine is through https://sdkman.io/install[SDKMan^].
219-
220-
After following the instructions to install SDKMan, open a terminal window and run the commands `sdk install java` and `sdk install maven` to install the latest versions of Java and Maven.
221-
====
222-
223-
224221
We will be using Maven here --
225222
for more information about the Java SDK installation, see the xref:project-docs:sdk-full-installation.adoc[full installation page],
226223
or review the xref:start-using-sdk.adoc[Getting Started page].
@@ -297,7 +294,7 @@ To set up the Java SDK:
297294
+
298295
. Paste the following code block into your `pom.xml` file:
299296
+
300-
[source, xml]
297+
[source,xml,subs="+attributes"]
301298
----
302299
<?xml version="1.0" encoding="UTF-8"?>
303300
<project xmlns="http://maven.apache.org/POM/4.0.0"
@@ -324,7 +321,7 @@ To set up the Java SDK:
324321
<dependency>
325322
<groupId>com.couchbase.client</groupId>
326323
<artifactId>java-client</artifactId>
327-
<version>3.8.0</version>
324+
<version>{sdk_current_version}</version>
328325
</dependency>
329326
<dependency>
330327
<groupId>org.slf4j</groupId>
@@ -348,7 +345,7 @@ Next, connect your Java SDK to your cluster.
348345

349346

350347
[#connect-to-the-cluster]
351-
== Connect the SDK to Your Cluster
348+
=== Connect the SDK to Your Cluster
352349

353350
To connect to the cluster:
354351

0 commit comments

Comments
 (0)