@@ -144,10 +144,50 @@ To get help, follow the instructions in the [shared Troubleshooting document][tr
144
144
145
145
Natural Language uses gRPC for the transport layer.
146
146
147
- ## Java Versions
147
+ ## Supported Java Versions
148
148
149
149
Java 7 or above is required for using this client.
150
150
151
+ Google's Java client libraries,
152
+ [ Google Cloud Client Libraries] [ cloudlibs ]
153
+ and
154
+ [ Google Cloud API Libraries] [ apilibs ] ,
155
+ follow the
156
+ [ Oracle Java SE support roadmap] [ oracle ]
157
+ (see the Oracle Java SE Product Releases section).
158
+
159
+ ### For new development
160
+
161
+ In general, new feature development occurs with support for the lowest Java
162
+ LTS version covered by Oracle's Premier Support (which typically lasts 5 years
163
+ from initial General Availability). If the minimum required JVM for a given
164
+ library is changed, it is accompanied by a [ semver] [ semver ] major release.
165
+
166
+ Java 11 and (in September 2021) Java 17 are the best choices for new
167
+ development.
168
+
169
+ ### Keeping production systems current
170
+
171
+ Google tests its client libraries with all current LTS versions covered by
172
+ Oracle's Extended Support (which typically lasts 8 years from initial
173
+ General Availability).
174
+
175
+ #### Legacy support
176
+
177
+ Google's client libraries support legacy versions of Java runtimes with long
178
+ term stable libraries that don't receive feature updates on a best efforts basis
179
+ as it may not be possible to backport all patches.
180
+
181
+ Google provides updates on a best efforts basis to apps that continue to use
182
+ Java 7, though apps might need to upgrade to current versions of the library
183
+ that supports their JVM.
184
+
185
+ #### Where to find specific information
186
+
187
+ The latest versions and the supported Java versions are identified on
188
+ the individual GitHub repository ` github.com/GoogleAPIs/java-SERVICENAME `
189
+ and on [ google-cloud-java] [ g-c-j ] .
190
+
151
191
## Versioning
152
192
153
193
@@ -208,3 +248,9 @@ Java is a registered trademark of Oracle and/or its affiliates.
208
248
[ enable-api ] : https://console.cloud.google.com/flows/enableapi?apiid=language.googleapis.com
209
249
[ libraries-bom ] : https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
210
250
[ shell_img ] : https://gstatic.com/cloudssh/images/open-btn.png
251
+
252
+ [ semver ] : https://semver.org/
253
+ [ cloudlibs ] : https://cloud.google.com/apis/docs/client-libraries-explained
254
+ [ apilibs ] : https://cloud.google.com/apis/docs/client-libraries-explained#google_api_client_libraries
255
+ [ oracle ] : https://www.oracle.com/java/technologies/java-se-support-roadmap.html
256
+ [ g-c-j ] : http://github.com/googleapis/google-cloud-java
0 commit comments