JavaFX runtime error

Ive tried to fix it using google but the seps i tried didnt work
No description
17 Replies
JavaBot
JavaBot2mo ago
This post has been reserved for your question.
Hey @MoneyTalks! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
ysemoo_
ysemoo_OP2mo ago
@JavaBot
stechy1
stechy12mo ago
Hi, we need more information about the project. How did you import JavaFX dependencies? Do you use only FX SDK or letting Maven/Gradle handle it?
ysemoo_
ysemoo_OP2mo ago
i added it my self thruogh the project libary thing
ysemoo_
ysemoo_OP2mo ago
No description
stechy1
stechy12mo ago
I would recommend you to read the "getting started" guide https://openjfx.io/openjfx-docs/#install-javafx
Getting Started with JavaFX
Getting started with JavaFX for Java desktop application development
ysemoo_
ysemoo_OP2mo ago
the site wont load anything
No description
stechy1
stechy12mo ago
You have to click to "run hello world using Maven" 😇
MatthewLitwiz
MatthewLitwiz2mo ago
XD
dan1st
dan1st2mo ago
As already mentioned by stechy1, the thing that works best is using a build tool (e.g. Maven). But it's also possible to do it without one but then you might need to set the modulepath/add modules manually Do you have a module-info.java? The archetype works really well and you don't have to use the CLI, you can also do that from inside your IDE
dan1st
dan1st2mo ago
To create a JavaFX project with Maven from IntelliJ, open https://openjfx.io/openjfx-docs/#IDE-Intellij and scroll down to "Maven" (preferably under "Modular projects")
Getting Started with JavaFX
Getting started with JavaFX for Java desktop application development
dan1st
dan1st2mo ago
you can also just select that on the bar on the left
No description
ysemoo_
ysemoo_OP2mo ago
what am i looking at
No description
ysemoo_
ysemoo_OP2mo ago
blank screen bro this is what i meant
dan1st
dan1st2mo ago
Do you have JS disabled or are you using an adblocker? Do you see something when selecting "JavaFX and IntelliJ"?
Galaxy
Galaxy2mo ago
To fix it, ensure that you have the JavaFX SDK installed and properly configured in your project settings, including adding the JavaFX libraries to your module path.
JavaBot
JavaBot2mo ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.

Did you find this page helpful?