From 39340f893109eb1e825829eca1ab29425cc18f30 Mon Sep 17 00:00:00 2001 From: TharmiganK Date: Mon, 18 Sep 2023 12:17:21 +0530 Subject: [PATCH] Fix GraalVM installation step --- ...lvm-compatibility-in-ballerina-libraries.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/graalvm-compatibility-in-ballerina-libraries.md b/docs/graalvm-compatibility-in-ballerina-libraries.md index 62adc6a8..e7343ddd 100644 --- a/docs/graalvm-compatibility-in-ballerina-libraries.md +++ b/docs/graalvm-compatibility-in-ballerina-libraries.md @@ -79,18 +79,20 @@ The analysis should be also done on the third-party libraries used in the module #### Configure GraalVM locally -1. Install GraalVM using [SDKMAN!](https://sdkman.io/). - >**Tip:** For additional download options, see [Get Started with GraalVM](https://www.graalvm.org/jdk17/docs/getting-started/). - - ```console - $ sdk install java 17.0.7-graalce - ``` - - > **Note:** If you have installed Ballerina Swan Lake Update 7(2201.7.x) or lower, you have to install GraalVM JDK 11. For download options, see [Get Started with GraalVM](https://www.graalvm.org/22.3/docs/getting-started/macos/). +1. Install GraalVM. + >**Tip:** Use [SDKMAN!](https://sdkman.io/) to install GraalVM. + > + > ```console + > $ sdk install java 17.0.7-graalce + > ``` + > + For additional download options, see [Get Started with GraalVM](https://www.graalvm.org/jdk17/docs/getting-started/). + > **Note:** If you have installed Ballerina Swan Lake Update 7(2201.7.x) or lower, you have to install GraalVM JDK 11. For download options, see [Get Started with GraalVM](https://www.graalvm.org/22.3/docs/getting-started/macos/). 2. Set the `GRAALVM_HOME` environment variable to the GraalVM installation directory. If you have installed using SDKMAN! you can set it to `JAVA_HOME`. > **Note:** +> > - On Windows, the native image requires Visual Studio Code and Microsoft Visual C++ (MSVC). For more details, see [Prerequisites for Native Image on Windows](https://www.graalvm.org/latest/docs/getting-started/windows/#prerequisites-for-native-image-on-windows). > - The GraalVM native-image tool support for Apple M1 (darwin-aarch64) is still experimental. For more updates, see [Support for Apple M1](https://github.com/oracle/graal/issues/2666).