[readme] add note that JDK 1.8 used in IntelliJ project must include JavaFX classes

Otherwise compilation will fail (IDEA-241196, pull requests #1362, #1372).

GitOrigin-RevId: b4fb5729d597b413d25ebd57fb2856f1695e4744
This commit is contained in:
Nikolay Chashnikov
2020-05-28 15:10:36 +03:00
committed by intellij-monorepo-bot
parent 3d8460f557
commit dcbd2c60af
+3 -1
View File
@@ -40,7 +40,9 @@ Using IntelliJ IDEA **File | Open**, select the `<IDEA_HOME>` directory.
[refresh the Gradle projects](https://www.jetbrains.com/help/idea/jetgradle-tool-window.html).
### IntelliJ Build Configuration
JDK version 1.8 (u162 or newer) is required for building and developing for IntelliJ IDEA Community Edition.
JDK version 1.8 (u162 or newer) is required for building and developing for IntelliJ IDEA Community Edition. Note that IntelliJ IDEA depends
on JavaFX classes so the JDK distribution must include jfxrt.jar. You may use for example Oracle JDK or Amazon Corretto (the latter can be
downloaded directly from Project Structure dialog since IntelliJ IDEA 2020.1).
1. Using IntelliJ IDEA, [configure](https://www.jetbrains.com/help/idea/sdk.html) a JDK named "**1.8**", pointing to `<JDK_18_HOME>`.
* If not already present, add `<JDK_18_HOME>/lib/tools.jar` [to the Classpath](https://www.jetbrains.com/help/idea/sdk.html#manage_sdks) tab
for the **1.8** JDK.