Skip to content

Commit c7f3b4f

Browse files
authored
Update CONTRIBUTING.md
Added notes about JDK 17 and `gu` command's availability
1 parent dfce6d3 commit c7f3b4f

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

CONTRIBUTING.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,25 @@ This projects is composed of several main modules/components:
110110

111111
### Build the Java part
112112

113-
Building the java part is as simple as:
113+
114+
**Pre requisite**: Building this requires **GraalVM JDK version 17** and the **Javascript Engine**.
115+
GraalVM website does not give link to install this. Use the command `sdk install java 17.0.9-graalce` to install GraalVM JDK 17.
116+
117+
Javascript engine needs to be installed using `gu` command.
118+
119+
**Note**: `gu` commnd is removed from the GraalVM distribution from version 19 and upwards. So you can't build this with latest JDK.
120+
121+
**On Linux or Mac:**
122+
```
123+
$JAVA_HOME/bin/gu install js
124+
```
125+
**On windows:**
126+
127+
```
128+
%JAVA_HOME%/bin/gu install js
129+
```
130+
131+
#### Compilation step
114132

115133
```bash
116134
mvn -Pcodegen install

0 commit comments

Comments
 (0)