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
+19-13Lines changed: 19 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,13 +28,14 @@ or on Windows:
28
28
Your output should look something like the following:
29
29
30
30
```
31
-
ℹ️ Checking required JVM:
32
-
✅ JAVA_HOME is set to /Users/datadog/.sdkman/candidates/java/8.0.402-zulu.
33
-
✅ JAVA_8_HOME is set to /Users/datadog/.sdkman/candidates/java/8.0.402-zulu.
34
-
✅ JAVA_11_HOME is set to /Users/datadog/.sdkman/candidates/java/11.0.22-zulu.
35
-
✅ JAVA_17_HOME is set to /Users/datadog/.sdkman/candidates/java/17.0.10-zulu.
36
-
✅ JAVA_21_HOME is set to /Users/datadog/.sdkman/candidates/java/21.0.2-zulu.
37
-
✅ JAVA_GRAALVM17_HOME is set to /Users/datadog/.sdkman/candidates/java/17.0.9-graalce.
31
+
ℹ️ Checking required JVMs:
32
+
✅ JAVA_HOME is set to /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home.
33
+
✅ JAVA_8_HOME is set to /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home.
34
+
✅ JAVA_11_HOME is set to /Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home.
35
+
✅ JAVA_17_HOME is set to /Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home.
36
+
✅ JAVA_21_HOME is set to /Library/Java/JavaVirtualMachines/zulu-21.jdk/Contents/Home.
37
+
✅ JAVA_24_HOME is set to /Library/Java/JavaVirtualMachines/zulu-24.jdk/Contents/Home.
38
+
✅ JAVA_GRAALVM17_HOME is set to /Library/Java/JavaVirtualMachines/graalvm-ce-java17-22.3.1/Contents/Home.
38
39
ℹ️ Checking git configuration:
39
40
✅ The git command line is installed.
40
41
✅ pre-commit hook is installed in repository.
@@ -51,22 +52,22 @@ If there is any issue with your output, check the requirements above and use the
51
52
52
53
Requirements to build the full project:
53
54
54
-
* The JDK versions 8, 11, 17and 21 must be installed.
55
-
* The `JAVA_8_HOME`, `JAVA_11_HOME`, `JAVA_17_HOME`, `JAVA_21_HOME`, and `JAVA_GRAALVM17_HOME` must point to their respective JDK location.
55
+
* The JDK versions 8, 11, 17, 21, and 24 must be installed.
56
+
* The `JAVA_8_HOME`, `JAVA_11_HOME`, `JAVA_17_HOME`, `JAVA_21_HOME`, `JAVA_24_HOME`, and `JAVA_GRAALVM17_HOME` must point to their respective JDK location.
56
57
* The JDK 8 `bin` directory must be the only JDK on the PATH (e.g. `$JAVA_8_HOME/bin`).
57
58
* The `JAVA_HOME` environment variable may be unset. If set, it must point to the JDK 8 location (same as `JAVA_8_HOME`).
58
59
* The `git` command line must be installed.
59
60
* A container runtime environment must be available to run all tests (e.g. Docker Desktop).
60
61
61
62
### Install the required JDKs
62
63
63
-
Download and install JDK versions 8, 11, 17and 21, and GraalVM 17 for your OS.
64
+
Download and install JDK versions 8, 11, 17, 21 and 24, and GraalVM 17 for your OS.
export JAVA_GRAALVM17_HOME=/Library/Java/JavaVirtualMachines/graalvm-<current version of graalvm>/Contents/Home
82
84
export JAVA_HOME=$JAVA_8_HOME
83
85
```
@@ -93,22 +95,23 @@ Download and install JDK versions 8, 11, 17 and 21, and GraalVM 17 for your OS.
93
95
94
96
#### Linux
95
97
96
-
* Download and extract JDK 8, 11, 17, and 21 from [Eclipse Temurin releases](https://adoptium.net/temurin/releases/) and GraalVM 17 from [Oracle downloads](https://www.graalvm.org/downloads/).
98
+
* Download and extract JDK 8, 11, 17, 21, and 24 from [Eclipse Temurin releases](https://adoptium.net/temurin/releases/) and GraalVM 17 from [Oracle downloads](https://www.graalvm.org/downloads/).
97
99
* 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).
98
100
* 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.
99
101
```shell
100
102
export JAVA_8_HOME=/<path to extracted archive>/jdk8u<current version of JDK 8>
101
103
export JAVA_11_HOME=/<path to extracted archive>/jdk-11.<current version of JDK 11>
102
104
export JAVA_17_HOME=/<path to extracted archive>/jdk-17.<current version of JDK 17>
103
105
export JAVA_21_HOME=/<path to extracted archive>/jdk-21.<current version of JDK 21>
106
+
export JAVA_24_HOME=/<path to extracted archive>/jdk-24.<current version of JDK 24>
104
107
export JAVA_GRAALVM17_HOME=/<path to extracted archive>/graalvm-jdk-17.<current version of graalvm>/Contents/Home
105
108
export JAVA_HOME=$JAVA_8_HOME
106
109
```
107
110
* Restart your shell after applying the changes if you appended the commands to your shell configuration file.
108
111
109
112
#### Windows
110
113
111
-
* Download and install JDK 8, 11, 17, and 21[Eclipse Temurin releases](https://adoptium.net/temurin/releases/).
114
+
* Download and install JDK 8, 11, 17, 21, and 24[Eclipse Temurin releases](https://adoptium.net/temurin/releases/).
112
115
113
116
<details>
114
117
<summary>Alternatively, install JDKs using winget or scoop. (click here to expand)</summary>
@@ -118,6 +121,7 @@ Download and install JDK versions 8, 11, 17 and 21, and GraalVM 17 for your OS.
Copy file name to clipboardExpand all lines: dd-java-agent/appsec/src/test/groovy/com/datadog/appsec/config/AppSecConfigServiceImplSpecification.groovy
@IgnoreIf(reason="Karate instrumentation is creating an unclosed span of kind test_suite_end specifically for Java 24. Skip until we have a fix.", value= {
@IgnoreIf(reason="A change in Locale.ROOT that was introduced in JDK 22 is not fixed until vertx-pg-client v4.5.1: https://github.com/eclipse-vertx/vertx-sql-client/pull/1394", value= {
@IgnoreIf(reason="WildFly does not guarantee support for Java SE 24. The latest version 36 of WildFly recommends using the latest Java LTS: https://docs.wildfly.org/36/Getting_Started_Guide.html#requirements", value= {
0 commit comments