@@ -19,17 +19,33 @@ Select the installation option that you prefer.
19
19
## SDKMAN!
20
20
21
21
Install Oracle GraalVM with [ SDKMAN!] ( https://sdkman.io/ ) {: target ="_ blank"}:
22
+
22
23
``` bash
23
24
sdk install java < version> -graal
24
25
```
26
+
25
27
To install GraalVM Community Edition, change the distribution from ` graal ` to ` graalce ` in the command.
26
28
27
29
SDKMAN! helps you install and easily switch between JDKs.
28
- Check which GraalVM releases are available for installation by running:
30
+
31
+ To check which GraalVM releases are available for installation, run:
32
+
29
33
``` bash
30
34
sdk list java
31
35
```
32
36
37
+ To switch to the specified GraalVM version for your current terminal session, run:
38
+
39
+ ``` bash
40
+ sdk use java < version> -graal
41
+ ```
42
+
43
+ To set a version as the default for all new terminal sessions, run:
44
+
45
+ ``` bash
46
+ sdk default java < version> -graal
47
+ ```
48
+
33
49
## From an Archive
34
50
35
51
Install GraalVM from an archive (_ .tar.gz_ ) for the current user into any location, without affecting other JDK installations.
@@ -75,7 +91,8 @@ For other installation options, visit the [GraalVM Downloads page](https://www.g
75
91
76
92
# # Prerequisites for Native Image on Linux
77
93
78
- Native Image depends on the local toolchain (header files for the C library, ` glibc-devel` , ` zlib` , ` gcc` , and/or ` libstdc++-static` ).
94
+ Native Image depends on the local toolchain, including header files for the C library, ` glibc-devel` , ` zlib` , ` gcc` , and/or ` libstdc++-static` .
95
+
79
96
These dependencies can be installed (if not yet installed) using a package manager on your Linux machine.
80
97
81
98
On ** Oracle Linux** use the ` yum` package manager:
0 commit comments