r/JavaFX • • Jun 15 '25
Help Please help me setup JavaFX on VS Code ๐๐ฝ
So as shown in the screenshots, I have been trying to setup JavaFX in VS Code for an upcoming project I have to do soon. I have tried adding the .jar files to my referenced library, manually adding them to my lib folder, adding to the .json file and nothing seems to work. Every tutorial I look up tells me the same things and I fear that I may be missing something very simple so if anyone knows what that might be then please let me know.
Any help is greatly appreciated!
10
Upvotes





View all comments
3
u/Spare-Plum Jun 15 '25
Are you using Maven/Gradle? If not use a build tool with the appropriate libraries and plugins
Does this have to be VS Code? Intellij has pretty good JavaFX integration and can set up a project with the appropriate build tool settings. If you really want VS Code tho you can just copy the build that Intellij made for you