You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: quarkus-workshop-super-heroes/docs/src/docs/asciidoc/core-introduction/introduction-installing-graalvm.adoc
+25-38Lines changed: 25 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,15 +17,24 @@ Examples for common distributions:
On macOS X there are several ways to install GraalVM.
28
-
But using SDKMAN! is the preferred option, as it allows you to easily switch between different versions of GraalVM if needed.
32
+
But using https://sdkman.io/[SDKMAN!] is the preferred option, as it allows you to easily switch between different versions of GraalVM if needed.
33
+
34
+
[source,shell]
35
+
----
36
+
xcode-select --install
37
+
----
29
38
endif::use-mac[]
30
39
31
40
ifdef::use-windows[]
@@ -36,21 +45,12 @@ endif::use-windows[]
36
45
== Installing GraalVM
37
46
38
47
ifndef::use-mac[]
39
-
GraalVM is installed from the GraalVM project.footnote:[GraalVM Download https://github.com/graalvm/graalvm-ce-builds/releases/tag/vm-{graalvm-version}].
48
+
GraalVM is installed from the GraalVM project.footnote:[GraalVM Download https://github.com/graalvm/graalvm-ce-builds/releases].
40
49
41
50
Version {graalvm-version} is required.
42
51
Select the {jdk-version} version.
43
52
44
-
Follow the installation instructions:
45
-
46
-
ifdef::use-linux[]
47
-
- Linux - https://www.graalvm.org/{graalvm-version}/docs/getting-started/linux/
48
-
endif::use-linux[]
49
-
ifdef::use-windows[]
50
-
- Windows - https://www.graalvm.org/{graalvm-version}/docs/getting-started/windows/
51
-
endif::use-windows[]
52
-
endif::use-mac[]
53
-
53
+
Follow the https://www.graalvm.org/jdk{graalvm-version}/docs[installation instructions].
54
54
55
55
ifdef::use-mac[]
56
56
=== Listing GraalVM Versions
@@ -64,18 +64,13 @@ GraalVM has its own group and is listed under the `GraalVM` vendor:
@@ -85,23 +80,15 @@ If you don't have any GraalVM candidate installed, use SDKMAN! to install one or
85
80
=== Installing a GraalVM Version
86
81
87
82
There are several versions of GraalVM available for different versions of the JDK.
88
-
Because we are using Java {jdk-version} in this fascicle, we will install the version of GraalVM that is compatible with Java {jdk-version} (the versions finishing with `r{jdk-version}-grl`).
89
-
Let's install GraalVM {graalvm-version}.
83
+
Because we are using Java {jdk-version} in this fascicle, we will install the version of GraalVM that is compatible with Java {jdk-version}. Pick one of the {graalvm-version}.x-graalce versions from SDKMAN!
Do you want java {graalvm-version}.r{jdk-version}-grl to be set as default? (Y/n):
87
+
$ sdk install java {graalvm-version}.x-graalce
101
88
----
102
89
endif::use-mac[]
103
90
104
-
Once installed, define the `GRAALVM_HOME` environment variable to point to the directory where GraalVM is installed (eg. on Mac OS X it could be `~/.sdkman/candidates/java/{graalvm-version}.r{jdk-version}-grl`).
91
+
Once installed, define the `GRAALVM_HOME` environment variable to point to the directory where GraalVM is installed (eg. on Mac OS X it could be `~/.sdkman/candidates/java/{graalvm-version}.x-graalce`).
105
92
106
93
107
94
ifdef::use-mac[]
@@ -132,8 +119,8 @@ You should get something like:
Copy file name to clipboardExpand all lines: quarkus-workshop-super-heroes/docs/src/docs/asciidoc/core-introduction/introduction-installing-jdk.adoc
+12-37Lines changed: 12 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,19 +4,11 @@
4
4
5
5
Essential for the development and execution of this workshop is the _Java Development Kit_ (JDK).footnote:[Java http://www.oracle.com/technetwork/java/javase]
6
6
The JDK includes several tools such as a compiler (`javac`), a virtual machine, a documentation generator (`JavaDoc), monitoring tools (Visual VM) and so onfootnote:[Visual VM https://visualvm.github.io].
7
-
The code in this workshop uses JDK {jdk-version}.
7
+
The code in this workshop is based on JDK {jdk-version}, but any JDK version higher will work as well.
8
8
9
9
== Installing the JDK
10
10
11
-
To install the JDK {jdk-version}, follows the instructions from https://adoptium.net/installation.html to download and install the JDK for your platform.
12
-
13
-
ifdef::use-mac[]
14
-
There is also an easier way to download and install Java if you are on Mac OS X: using SDKMAN!.
15
-
_SDKMAN!_{wj}footnote:[SDKMAN! https://sdkman.io] is a tool for managing parallel versions of multiple Software Development Kits (SDK) on most Unix based systems.
16
-
It provides a convenient Command Line Interface (CLI) and API for installing, switching, removing and listing _Candidates_.
17
-
Developers often need to manage parallel versions of different builds of SDKs in their environment and switch from one to another.
18
-
Manually setting the `PATH` variable can become quickly painful.
19
-
That's when SDKMAN! can help you.
11
+
There is an easier way to download and install Java: using https://sdkman.io/[SDKMAN!].
20
12
21
13
=== Installing SDKMAN!
22
14
@@ -50,9 +42,8 @@ Microsoft | | 17.0.5 | ms | | 17.0.5-ms
0 commit comments