Skip to content

Commit 7b74fad

Browse files
committed
Update documentation
1 parent 7f3e77e commit 7b74fad

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

BUILDING.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Your output should look something like the following:
3636
✅ JAVA_21_HOME is set to /Library/Java/JavaVirtualMachines/zulu-21.jdk/Contents/Home.
3737
✅ JAVA_25_HOME is set to /Library/Java/JavaVirtualMachines/zulu-25.jdk/Contents/Home.
3838
✅ 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.
3940
ℹ️ Checking git configuration:
4041
✅ The git command line is installed.
4142
✅ 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
5354
Requirements to build the full project:
5455

5556
* 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.
5758
* The JDK 8 `bin` directory must be the only JDK on the PATH (e.g. `$JAVA_8_HOME/bin`).
5859
* The `JAVA_HOME` environment variable may be unset. If set, it must point to the JDK 8 location (same as `JAVA_8_HOME`).
5960
* The `git` command line must be installed.
6061
* A container runtime environment must be available to run all tests (e.g. Docker Desktop).
6162

6263
### Install the required JDKs
6364

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.
6566

6667
> [!NOTE]
6768
> 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
7071

7172
* Install the required JDKs using `brew`:
7273
```shell
73-
brew install --cask zulu@8 zulu@11 zulu@17 zulu@21 zulu graalvm/tap/graalvm-ce-java17
74+
brew install --cask zulu@8 zulu@11 zulu@17 zulu@21 zulu graalvm/tap/graalvm-ce-java17 graalvm-community-jdk25
7475
```
75-
* Identify your local version of GraalVM:
76+
* Identify your local versions of GraalVM:
7677
```
7778
ls /Library/Java/JavaVirtualMachines | grep graalvm
7879
```
7980
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/):
8182
```
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>
8384
```
8485
Example: `/Library/Java/JavaVirtualMachines/graalvm-ce-java17-22.3.1`
8586
* 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
8990
export JAVA_17_HOME=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home
9091
export JAVA_21_HOME=/Library/Java/JavaVirtualMachines/zulu-21.jdk/Contents/Home
9192
export JAVA_25_HOME=/Library/Java/JavaVirtualMachines/zulu-25.jdk/Contents/Home
92-
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
9395
export JAVA_HOME=$JAVA_8_HOME
9496
```
9597
* 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
104106
105107
#### Linux
106108

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/).
108110
* 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).
109111
* 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.
110112
```shell
@@ -113,7 +115,8 @@ Download and install JDK versions 8, 11, 17, 21 and 25, and GraalVM 17 for your
113115
export JAVA_17_HOME=/<path to extracted archive>/jdk-17.<current version of JDK 17>
114116
export JAVA_21_HOME=/<path to extracted archive>/jdk-21.<current version of JDK 21>
115117
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
117120
export JAVA_HOME=$JAVA_8_HOME
118121
```
119122
* Restart your shell after applying the changes if you appended the commands to your shell configuration file.

setup.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ TestJvm 'JAVA_21_HOME' '21'
5353
TestJvm 'JAVA_25_HOME' '25'
5454
# GraalVM cannot currently be installed due to license change in October 2024 for GraalVM 17.0.13 and later.
5555
# TestJvm 'JAVA_GRAALVM17_HOME' '17'
56+
# TestJvm 'JAVA_GRAALVM25_HOME' '25'
5657

5758
# Check for required commands (e.g., git, docker)
5859
function TestCommand {

setup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ check-jvm "JAVA_17_HOME" "17"
3838
check-jvm "JAVA_21_HOME" "21"
3939
check-jvm "JAVA_25_HOME" "25"
4040
check-jvm "JAVA_GRAALVM17_HOME" "17"
41+
check-jvm "JAVA_GRAALVM25_HOME" "25"
4142

4243

4344
#

0 commit comments

Comments
 (0)