Reputation: 1103
I try to use Intelli J IDE 2020.1 for JavaFX project.
According to IDE creator suggestion I have to download JavaFX SDK form this site.
After downloading and unzipping JavaFX directory, SDK should be added to SDK list via Project Structure->Platform Settings->SDKs->Add JDK. Both JavaFX 11 and JavaFX 15 directories, as well and their "lib" subdirectories brings error dialog
"The Selected direcotry is not valid home for JDK"
Does anybody downloaded JavaFX SDK and added it to Intelli J project in the similar ways?
Does anybody knows what is a criteria for Intelli J to recognize directory as valid JDK?
Upvotes: 0
Views: 68
Reputation: 1103
Well JavaFX should be added as library and not as SDK.
More detailed description may be found here
Upvotes: 1