diff --git a/_clients/java.md b/_clients/java.md index 06ba9a3984..5ee63ffb98 100644 --- a/_clients/java.md +++ b/_clients/java.md @@ -18,7 +18,7 @@ To start using the OpenSearch Java client, you need to provide a transport. The org.opensearch.client opensearch-java - 2.3.0 + 2.4.0 ``` {% include copy.html %} @@ -27,7 +27,7 @@ If you're using Gradle, add the following dependencies to your project: ``` dependencies { - implementation 'org.opensearch.client:opensearch-java:2.3.0' + implementation 'org.opensearch.client:opensearch-java:2.4.0' } ``` {% include copy.html %} @@ -48,7 +48,7 @@ Alternatively, you can create a Java client by using the `RestClient`-based tran org.opensearch.client opensearch-java - 2.3.0 + 2.4.0 ``` {% include copy.html %} @@ -58,7 +58,7 @@ If you're using Gradle, add the following dependencies to your project" ``` dependencies { implementation 'org.opensearch.client:opensearch-rest-client: {{site.opensearch_version}}' - implementation 'org.opensearch.client:opensearch-java:2.3.0' + implementation 'org.opensearch.client:opensearch-java:2.4.0' } ``` {% include copy.html %}