@@ -119,10 +119,50 @@ To get help, follow the instructions in the [shared Troubleshooting document][tr
119
119
120
120
Data Labeling uses gRPC for the transport layer.
121
121
122
- ## Java Versions
122
+ ## Supported Java Versions
123
123
124
124
Java 7 or above is required for using this client.
125
125
126
+ Google's Java client libraries,
127
+ [ Google Cloud Client Libraries] [ cloudlibs ]
128
+ and
129
+ [ Google Cloud API Libraries] [ apilibs ] ,
130
+ follow the
131
+ [ Oracle Java SE support roadmap] [ oracle ]
132
+ (see the Oracle Java SE Product Releases section).
133
+
134
+ ### For new development
135
+
136
+ In general, new feature development occurs with support for the lowest Java
137
+ LTS version covered by Oracle's Premier Support (which typically lasts 5 years
138
+ from initial General Availability). If the minimum required JVM for a given
139
+ library is changed, it is accompanied by a [ semver] [ semver ] major release.
140
+
141
+ Java 11 and (in September 2021) Java 17 are the best choices for new
142
+ development.
143
+
144
+ ### Keeping production systems current
145
+
146
+ Google tests its client libraries with all current LTS versions covered by
147
+ Oracle's Extended Support (which typically lasts 8 years from initial
148
+ General Availability).
149
+
150
+ #### Legacy support
151
+
152
+ Google's client libraries support legacy versions of Java runtimes with long
153
+ term stable libraries that don't receive feature updates on a best efforts basis
154
+ as it may not be possible to backport all patches.
155
+
156
+ Google provides updates on a best efforts basis to apps that continue to use
157
+ Java 7, though apps might need to upgrade to current versions of the library
158
+ that supports their JVM.
159
+
160
+ #### Where to find specific information
161
+
162
+ The latest versions and the supported Java versions are identified on
163
+ the individual GitHub repository ` github.com/GoogleAPIs/java-SERVICENAME `
164
+ and on [ google-cloud-java] [ g-c-j ] .
165
+
126
166
## Versioning
127
167
128
168
@@ -186,3 +226,9 @@ Java is a registered trademark of Oracle and/or its affiliates.
186
226
[ enable-api ] : https://console.cloud.google.com/flows/enableapi?apiid=datalabeling.googleapis.com
187
227
[ libraries-bom ] : https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
188
228
[ shell_img ] : https://gstatic.com/cloudssh/images/open-btn.png
229
+
230
+ [ semver ] : https://semver.org/
231
+ [ cloudlibs ] : https://cloud.google.com/apis/docs/client-libraries-explained
232
+ [ apilibs ] : https://cloud.google.com/apis/docs/client-libraries-explained#google_api_client_libraries
233
+ [ oracle ] : https://www.oracle.com/java/technologies/java-se-support-roadmap.html
234
+ [ g-c-j ] : http://github.com/googleapis/google-cloud-java
0 commit comments