diff --git a/README.template b/README.template index 11c97fd10622..175397b3f767 100644 --- a/README.template +++ b/README.template @@ -32,7 +32,7 @@ Build from Source You can build Apache Druid directly from source. Prerequisites: - JDK 8, 8u92+ + JDK 21 or JDK 25 Maven version 3.x diff --git a/dev/intellij-sdk-config.jpg b/dev/intellij-sdk-config.jpg deleted file mode 100644 index 6a451b522af4..000000000000 Binary files a/dev/intellij-sdk-config.jpg and /dev/null differ diff --git a/dev/intellij-sdk-config.png b/dev/intellij-sdk-config.png new file mode 100644 index 000000000000..00dda46dcbfc Binary files /dev/null and b/dev/intellij-sdk-config.png differ diff --git a/dev/intellij-setup.md b/dev/intellij-setup.md index 966c6c81920d..d1cbd7174bcc 100644 --- a/dev/intellij-setup.md +++ b/dev/intellij-setup.md @@ -23,13 +23,13 @@ setups of Druid. ## Project SDK -The "SDK", configured for the Druid project, *must* be called `1.8`, to avoid annoying changes of -[`.idea/misc.xml`](/.idea/misc.xml) file, that you shouldn't check into your commits. If you don't have an SDK on your -dev machine with this name, you should either rename one of the existing SDKs to `1.8`, or create another one with this -name, and it could point to the same files as some other existing SDK, even if it's actually JDK 9+. `1.8` is just -an alias name. You can do this in Using `File` -> `Project Structure...` -> `Platform Settings` -> `SDKs` -(see also [IntelliJ help page about this](https://www.jetbrains.com/help/idea/configuring-intellij-platform-plugin-sdk.html)): -![IntelliJ SDK Config](intellij-sdk-config.jpg) +Druid requires JDK 21 or JDK 25. Add a supported JDK using +`File` -> `Project Structure...` -> `Platform Settings` -> `SDKs`. The SDK name can reflect the JDK distribution and +version, such as `zulu-21`. + +![IntelliJ SDK configuration](intellij-sdk-config.png) + +Then select the JDK as the project SDK under `Project Settings` -> `Project`. ## Code Style The Code Style is available in XML format at [druid_intellij_formatting.xml](druid_intellij_formatting.xml) and can be [imported into IntelliJ](https://www.jetbrains.com/help/idea/2017.1/copying-code-style-settings.html). @@ -96,8 +96,6 @@ You can configure application definitions in XML for import into IntelliJ. Below