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
* chore: bump guide java version
Signed-off-by: Ian Menendez <ianfmenendezd@gmail.com>
* chore: java 21 on title and other parts
Signed-off-by: Ian Menendez <ianfmenendezd@gmail.com>
---------
Signed-off-by: Ian Menendez <ianfmenendezd@gmail.com>
OpenSearch builds using Java 11 at a minimum. This means you must have a JDK 11 installed with the environment variable
39
-
`JAVA_HOME` referencing the path to Java home for your JDK 11 installation, e.g. `JAVA_HOME=/usr/lib/jvm/jdk-11`.
38
+
OpenSearch builds using Java 21 at a minimum. This means you must have a JDK 21 installed with the environment variable
39
+
`JAVA_HOME` referencing the path to Java home for your JDK 21 installation, e.g. `JAVA_HOME=/usr/lib/jvm/jdk-21`.
40
40
41
-
One easy way to get Java 11 on *nix is to use [sdkman](https://sdkman.io/).
41
+
One easy way to get Java 21 on *nix is to use [sdkman](https://sdkman.io/).
42
42
43
43
```bash
44
44
curl -s "https://get.sdkman.io"| bash
45
45
source~/.sdkman/bin/sdkman-init.sh
46
-
sdk install java 11.0.2-open
47
-
sdk use java 11.0.2-open
46
+
sdk install java 21.0.2-open
47
+
sdk use java 21.0.2-open
48
48
```
49
49
50
50
JDK versions 14 and 17 were tested and are fully supported for local development.
@@ -53,7 +53,7 @@ JDK versions 14 and 17 were tested and are fully supported for local development
53
53
54
54
### IntelliJ IDEA
55
55
56
-
When importing into IntelliJ you will need to define an appropriate JDK. The convention is that **this SDK should be named "11"**, and the project import will detect it automatically. For more details on defining an SDK in IntelliJ please refer to [this documentation](https://www.jetbrains.com/help/idea/sdk.html#define-sdk). Note that SDK definitions are global, so you can add the JDK from any project, or after project import. Importing with a missing JDK will still work, IntelliJ will report a problem and will refuse to build until resolved.
56
+
When importing into IntelliJ you will need to define an appropriate JDK. The convention is that **this SDK should be named "21"**, and the project import will detect it automatically. For more details on defining an SDK in IntelliJ please refer to [this documentation](https://www.jetbrains.com/help/idea/sdk.html#define-sdk). Note that SDK definitions are global, so you can add the JDK from any project, or after project import. Importing with a missing JDK will still work, IntelliJ will report a problem and will refuse to build until resolved.
57
57
58
58
You can import the OpenSearch project into IntelliJ IDEA as follows.
0 commit comments