From 68f0609ee775b941b82de8a1c474eac5a74b5209 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Thu, 12 Dec 2024 10:35:46 +0800 Subject: [PATCH] http-client-java, doc, require JDK 17 (#5333) clientcore now requires JDK 17. Therefore since emitter requires JDK too, we'd better just ask user to install 17 --- packages/http-client-java/README.md | 2 +- packages/http-client-java/generator/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/http-client-java/README.md b/packages/http-client-java/README.md index 949431ffd9..b36be08cae 100644 --- a/packages/http-client-java/README.md +++ b/packages/http-client-java/README.md @@ -6,7 +6,7 @@ This is a TypeSpec library that will emit a Java SDK from TypeSpec. Install [Node.js](https://nodejs.org/) 20 or above. (Verify by running `node --version`) -Install [Java](https://docs.microsoft.com/java/openjdk/download) 11 or above. (Verify by running `java --version`) +Install [Java](https://docs.microsoft.com/java/openjdk/download) 17 or above. (Verify by running `java --version`) Install [Maven](https://maven.apache.org/install.html). (Verify by running `mvn --version`) diff --git a/packages/http-client-java/generator/README.md b/packages/http-client-java/generator/README.md index 2fa6f134ca..6efa989f3b 100644 --- a/packages/http-client-java/generator/README.md +++ b/packages/http-client-java/generator/README.md @@ -10,8 +10,8 @@ The **Microsoft Java client generator** tool generates client libraries for acce ## Prerequisites -- [Java 11 or above](https://adoptium.net/temurin/releases/) -- [Maven](https://maven.apache.org/download.cgi) +- [Java 17 or above](https://docs.microsoft.com/java/openjdk/download) +- [Maven](https://maven.apache.org/install.html) ## Build