Skip to content

Commit 96b368b

Browse files
committed
Merge branch 'main' into feature/serialize-buffer-refactor
2 parents 3ad7c43 + 7ed28f2 commit 96b368b

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

compiler/README.adoc

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,30 @@
22

33
== Requirements
44

5-
* A Unix environment, such as Linux, Mac OS, or the Windows Subsystem for Linux.
6-
* The https://www.scala-sbt.org[Simple Build Tool (sbt)] for Scala.
5+
. A Unix environment, such as Linux, Mac OS, or the Windows Subsystem for Linux.
6+
7+
. The https://www.scala-sbt.org[Simple Build Tool (sbt)] for Scala.
8+
9+
. Version 11 of the Java Development Kit (JDK).
10+
If you have a different version of Java installed on your system, then
11+
you can do the following:
12+
13+
.. Install version 11 of the JDK.
14+
For example, in MacPorts you can run
15+
+
16+
[source,bash]
17+
----
18+
% sudo port install openjdk11-graalvm
19+
----
20+
21+
.. Set the environment variable `JAVA_HOME` to the home directory associated
22+
with the installation.
23+
For example, on Mac OS:
24+
+
25+
[source,bash]
26+
----
27+
% export JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk11-graalvm/Contents/Home
28+
----
729

830
== Installing
931

@@ -117,7 +139,7 @@ For example, on Mac OS:
117139
+
118140
[source,bash]
119141
----
120-
% export GRAALVM_JAVA_HOME=Library/Java/JavaVirtualMachines/openjdk11-graalvm/Contents/Home
142+
% export GRAALVM_JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk11-graalvm/Contents/Home
121143
----
122144

123145
. Run `sudo $GRAALVM_JAVA_HOME/bin/gu install native-image`

0 commit comments

Comments
 (0)