File tree Expand file tree Collapse file tree 1 file changed +25
-3
lines changed
Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change 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`
You can’t perform that action at this time.
0 commit comments