JavaFX runtime error
Ive tried to fix it using google but the seps i tried didnt work
![No description](https://cdn.answeroverflow.com/1338790058672525392/image.png)
17 Replies
⌛
This post has been reserved for your question.
Hey @MoneyTalks! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose 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.
@JavaBot
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?
i added it my self thruogh the project libary thing
![No description](https://cdn.answeroverflow.com/1338803140698574858/image.png)
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
the site wont load anything
![No description](https://cdn.answeroverflow.com/1338810691124989972/image.png)
You have to click to "run hello world using Maven" 😇
XD
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
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
you can also just select that on the bar on the left
![No description](https://cdn.answeroverflow.com/1338919117255872613/image.png)
what am i looking at
![No description](https://cdn.answeroverflow.com/1338927520069849188/image.png)
blank screen bro this is what i meant
Do you have JS disabled or are you using an adblocker?
Do you see something when selecting "JavaFX and IntelliJ"?
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.
💤
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.