From f797b36b1147372848ee752ca5aca0cd8e63f369 Mon Sep 17 00:00:00 2001 From: lnash94 Date: Mon, 2 Oct 2023 10:20:53 +0530 Subject: [PATCH] Update README.md --- README.md | 8 ++++++-- module-ballerina-openapi/Ballerina.toml | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a8fdc465b..ce17d81d0 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,13 @@ For more information on the supported operations, go to [Using the OpenAPI Tools ### Setting Up the Prerequisites -1. OpenJDK 11 ([Adopt OpenJDK](https://adoptopenjdk.net/) or any other OpenJDK distribution) +1. Download and install Java SE Development Kit (JDK) version 17 (from one of the following locations). - >**Info:** You can also use [Oracle JDK](https://www.oracle.com/java/technologies/javase-downloads.html). Set the JAVA_HOME environment variable to the pathname of the directory into which you installed JDK. + * [Oracle](https://www.oracle.com/java/technologies/downloads/) + + * [OpenJDK](https://adoptium.net/) + + > **Note:** Set the JAVA_HOME environment variable to the path name of the directory into which you installed JDK. 2. Export GitHub Personal access token with read package permissions as follows, ``` diff --git a/module-ballerina-openapi/Ballerina.toml b/module-ballerina-openapi/Ballerina.toml index 49e3f3887..de6712f8d 100644 --- a/module-ballerina-openapi/Ballerina.toml +++ b/module-ballerina-openapi/Ballerina.toml @@ -8,3 +8,6 @@ path = "../openapi-validator/build/libs/openapi-validator-@project.version@.jar" groupId = "ballerina" artifactId = "openapi" version = "@project.version@" + +[platform.java17] +graalvmCompatible = true