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: BUILDING.md
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,7 @@ Your output should look something like the following:
36
36
✅ JAVA_21_HOME is set to /Library/Java/JavaVirtualMachines/zulu-21.jdk/Contents/Home.
37
37
✅ JAVA_25_HOME is set to /Library/Java/JavaVirtualMachines/zulu-25.jdk/Contents/Home.
38
38
✅ JAVA_GRAALVM17_HOME is set to /Library/Java/JavaVirtualMachines/graalvm-ce-java17-22.3.1/Contents/Home.
39
+
✅ JAVA_GRAALVM25_HOME is set to /Library/Java/JavaVirtualMachines/graalvm-community-openjdk-25+37.1/Contents/Home.
39
40
ℹ️ Checking git configuration:
40
41
✅ The git command line is installed.
41
42
✅ pre-commit hook is installed in repository.
@@ -53,15 +54,15 @@ If there is any issue with your output, check the requirements above and use the
53
54
Requirements to build the full project:
54
55
55
56
* The JDK versions 8, 11, 17, 21, and 25 must be installed.
56
-
* The `JAVA_8_HOME`, `JAVA_11_HOME`, `JAVA_17_HOME`, `JAVA_21_HOME`, `JAVA_25_HOME`, and `JAVA_GRAALVM17_HOME` must point to their respective JDK location.
57
+
* The `JAVA_8_HOME`, `JAVA_11_HOME`, `JAVA_17_HOME`, `JAVA_21_HOME`, `JAVA_25_HOME`, `JAVA_GRAALVM17_HOME`, and `JAVA_GRAALVM25_HOME` must point to their respective JDK location.
57
58
* The JDK 8 `bin` directory must be the only JDK on the PATH (e.g. `$JAVA_8_HOME/bin`).
58
59
* The `JAVA_HOME` environment variable may be unset. If set, it must point to the JDK 8 location (same as `JAVA_8_HOME`).
59
60
* The `git` command line must be installed.
60
61
* A container runtime environment must be available to run all tests (e.g. Docker Desktop).
61
62
62
63
### Install the required JDKs
63
64
64
-
Download and install JDK versions 8, 11, 17, 21 and 25, and GraalVM 17 for your OS.
65
+
Download and install JDK versions 8, 11, 17, 21 and 25, GraalVM 17, and GraalVM 25 for your OS.
65
66
66
67
> [!NOTE]
67
68
> While Temurin JDK 25 from [Eclipse Temurin releases](https://adoptium.net/temurin/releases/) has not been released, please download the OpenJDK EA version at [this link](https://jdk.java.net/25/). Add the required environment variable using an `export` command along the lines of `export JAVA_25_HOME=/Library/Java/JavaVirtualMachines/jdk-25.jdk/Contents/Home`. Then, confirm that this was set properly by executing `echo $JAVA_25_HOME`.
@@ -70,16 +71,16 @@ Download and install JDK versions 8, 11, 17, 21 and 25, and GraalVM 17 for your
ls /Library/Java/JavaVirtualMachines | grep graalvm
78
79
```
79
80
Example: `graalvm-ce-java17-22.3.1`
80
-
* Use this version in the following command to fix the GraalVM installation by [removing the quarantine flag](https://www.graalvm.org/latest/docs/getting-started/macos/):
81
+
* Use this GraalVM 17 version in the following command to fix the installation by [removing the quarantine flag](https://www.graalvm.org/22.0/docs/getting-started/macos/):
81
82
```
82
-
sudo xattr -r -d com.apple.quarantine /Library/Java/JavaVirtualMachines/graalvm-<current version of graalvm>
83
+
sudo xattr -r -d com.apple.quarantine /Library/Java/JavaVirtualMachines/graalvm-<current version of graalvm 17>
* Add the required environment variables to your shell using the `export` command. You can permanently install the environment variables by appending the `export` commands into your shell configuration file `~/.zshrc` or `.bashrc` or other.
@@ -89,7 +90,8 @@ Download and install JDK versions 8, 11, 17, 21 and 25, and GraalVM 17 for your
export JAVA_GRAALVM17_HOME=/Library/Java/JavaVirtualMachines/graalvm-<current version of graalvm>/Contents/Home
93
+
export JAVA_GRAALVM17_HOME=/Library/Java/JavaVirtualMachines/graalvm-<current version of GraalVM 17>/Contents/Home
94
+
export JAVA_GRAALVM25_HOME=/Library/Java/JavaVirtualMachines/graalvm-<current version of GraalVM 25>/Contents/Home
93
95
export JAVA_HOME=$JAVA_8_HOME
94
96
```
95
97
* Restart your shell after applying the changes if you appended the commands to your shell configuration file.
@@ -104,7 +106,7 @@ Download and install JDK versions 8, 11, 17, 21 and 25, and GraalVM 17 for your
104
106
105
107
#### Linux
106
108
107
-
* Download and extract JDK 8, 11, 17, 21, and 25 from [Eclipse Temurin releases](https://adoptium.net/temurin/releases/) and GraalVM 17 from [Oracle downloads](https://www.graalvm.org/downloads/).
109
+
* Download and extract JDK 8, 11, 17, 21, and 25 from [Eclipse Temurin releases](https://adoptium.net/temurin/releases/) and GraalVM 17 and 25 from [Oracle downloads](https://www.graalvm.org/downloads/).
108
110
* Install the GraalVM native image requirements for native builds by following [the GraalVM official documentation](https://www.graalvm.org/latest/reference-manual/native-image/#prerequisites).
109
111
* Add the required environment variables to your shell using the `export` command. You can permanently install the environment variables by appending the `export` commands into your shell configuration file `~/.zshrc` or `~/.bashrc` or other.
110
112
```shell
@@ -113,7 +115,8 @@ Download and install JDK versions 8, 11, 17, 21 and 25, and GraalVM 17 for your
113
115
export JAVA_17_HOME=/<path to extracted archive>/jdk-17.<current version of JDK 17>
114
116
export JAVA_21_HOME=/<path to extracted archive>/jdk-21.<current version of JDK 21>
115
117
export JAVA_25_HOME=/<path to extracted archive>/jdk-25.<current version of JDK 25>
116
-
export JAVA_GRAALVM17_HOME=/<path to extracted archive>/graalvm-jdk-17.<current version of graalvm>/Contents/Home
118
+
export JAVA_GRAALVM17_HOME=/<path to extracted archive>/graalvm-jdk-17.<current version of GraalVM 17>/Contents/Home
119
+
export JAVA_GRAALVM25_HOME=/<path to extracted archive>/graalvm-jdk-25.<current version of GraalVM 25>/Contents/Home
117
120
export JAVA_HOME=$JAVA_8_HOME
118
121
```
119
122
* Restart your shell after applying the changes if you appended the commands to your shell configuration file.
0 commit comments