Skip to content

Commit fa61096

Browse files
Merge pull request #233208 from edburns/eb-3588-state-ee7petstore-requires-jdk17
On branch eb-3588-state-ee7petstore-requires-jdk17 Special case for 11 v 17 and petstore v booty duke.
2 parents 15d9c3e + 3794b57 commit fa61096

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

articles/app-service/includes/quickstart-java/quickstart-java-linux-maven-pivot.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ If Maven isn't your preferred development tool, check out our similar tutorials
4242
Clone the [sample project](https://github.com/Azure-Samples/app-service-java-quickstart) and check out the source code that runs with this version of the article.
4343

4444
> [!TIP]
45-
> Though App Service supports older versions of Java, the sample project uses Java records and requires **Java 17**. For more information about Java records, see [JEP 395](https://openjdk.org/jeps/395).
45+
> Though App Service supports older versions of Java, the `booty-duke-app-service` sample project uses Java records and requires **Java 17**. For more information about Java records, see [JEP 395](https://openjdk.org/jeps/395).
4646
4747
```azurecli-interactive
4848
git clone https://github.com/Azure-Samples/app-service-java-quickstart
@@ -83,11 +83,14 @@ git clone https://github.com/Azure-Samples/app-service-java-quickstart
8383

8484
Change directory to the completed project and build from the top level. Then `cd` to the subdirectory for petstore.
8585

86+
> [!TIP]
87+
> The `petstore-ee7` sample requires **Java 11 or newer**. The `booty-duke-app-service` sample project requires **Java 17**. If your installed version of Java is less than 17, run the build from within the `petstore-ee7` directory, rather than at the top level.
88+
8689
```azurecli-interactive
8790
cd app-service-java-quickstart
8891
git checkout 20230308
89-
mvn clean install
9092
cd petstore-ee7
93+
mvn clean install
9194
```
9295

9396
---

0 commit comments

Comments
 (0)