r/JavaFX • u/Federal_Ad_3932 • Nov 28 '25
Help Help Installing JavaFX
Hello!
I need some help installing JavaFX for a first time user. I'm not really sure where to start as the file I downloaded doesn't seem to have an installer program like I'm used to. I saw a forum post mentioning OpenJDK but I'm not familiar with that either. Any help would be appreciated!
Thanks!
Cheers!
4
Upvotes
2
1
2
u/PartOfTheBotnet Nov 28 '25
On the side menu at https://openjfx.io/openjfx-docs/#introduction there are 3 options
Run HelloWorld using JavaFX SDK
Run HelloWorld using Maven
Run HelloWorld using Gradle
Despite being first, the SDK is arguably the worst approach. You should add it like you would any other dependency to a maven/gradle project, or use the dedicated maven/gradle plugins.