JavaFX runtime error

Ive tried to fix it using google but the seps i tried didnt work
No description
17 Replies
JavaBot
JavaBot3d 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.
MoneyTalks
MoneyTalksOP3d ago
@JavaBot
stechy1
stechy13d 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?
MoneyTalks
MoneyTalksOP3d ago
i added it my self thruogh the project libary thing
MoneyTalks
MoneyTalksOP3d ago
No description
stechy1
stechy13d 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
MoneyTalks
MoneyTalksOP3d ago
the site wont load anything
No description
stechy1
stechy13d ago
You have to click to "run hello world using Maven" 😇
MatthewLitwiz
MatthewLitwiz3d ago
XD
dan1st
dan1st3d 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
dan1st3d 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
dan1st3d ago
you can also just select that on the bar on the left
No description
MoneyTalks
MoneyTalksOP2d ago
what am i looking at
No description
MoneyTalks
MoneyTalksOP2d ago
blank screen bro this is what i meant
dan1st
dan1st2d ago
Do you have JS disabled or are you using an adblocker? Do you see something when selecting "JavaFX and IntelliJ"?
Superstar
Superstar2d 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
JavaBot2d 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?