D
D
DarkByte20152017-06-04 08:16:28
IntelliJ IDEA
DarkByte2015, 2017-06-04 08:16:28

How to connect javafx in IntelliJ IDEA?

Please help me connect JavaFx to IntelliJ IDEA! I can't find a solution to this problem anywhere. Tried with maven but didn't work. :( And how to connect gradle here, I generally suspect that this is impossible. There are no articles anywhere about connecting libraries in this IDE.

eba2eeea639946fe90216a22b523ccf7.png

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey Vidyakin, 2017-06-11
@vidyakinsergey

Nothing is visible in the pictures, but nothing needs to be connected, you create a JavaFX project and it can already start. Or are you not talking about something? JavaFX is included in the Java SDK and support is already built into idea too.
It is necessary to correctly specify the path to the JDK in the IDEA settings

P
piliman, 2018-06-16
@piliman

Perhaps OpenJDK is in the settings, it does not have JavaFX. You need to install a regular JDK and change it in the settings File / Project Structure / Platform Settings / SDKs / JDK home path

A
alexman31, 2020-12-30
@alexman31

I have the same garbage JDK 13
JavaFx does not see
tried to manually connect, did not find the necessary libraries in the jdk folder Is
it definitely included in the JDK?
can all the same fx is now downloaded separately?

A
Anton Tikhomirov, 2021-05-10
@Acuna

There is one nuance that most do not pay attention to: on the Idea download page, it says that the free version does not support JavaFX, although it allows you to create a project. I have not yet been able to make friends with them manually, although this is probably impossible, otherwise why would they block it then.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question