Hi
I'm trying to start develop in JavaFX and I have some troubles with configurate enviroment. I'm trying to use IntelliJ, but I never used this tool before, when I go step by step via Youtube tut, there are some weird errors, which weren't mentioned in that tuts. If anybody could help me, I would really appreciated it. At this moment I added folder lib from openjfx and Youtube tut said to add VM option somewhere, but that option isn't in place where there used to be.
#javafx
1 messages · Page 1 of 1 (latest)
<@&987246527741304832> please have a look, thanks.
Here is an AI assisted attempt to answer your question 🤖. Maybe it helps! In any case, a human is on the way 👍. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.
Hi
I'm trying to start develop in JavaFX and I have some troubles with configurate enviroment. I'm trying to use IntelliJ, but I never used this tool before, when I go step by step via Youtube tut, there are some weird errors, which weren't mentioned in th
tutorials I'm still stuck. Can someone guide me on how to properly set up IntelliJ for JavaFX development?
Sure! To set up IntelliJ for JavaFX development, follow these steps:
- Install the latest version of IntelliJ IDEA.
- Create a new JavaFX project in IntelliJ by going to File -> New -> Project -> JavaFX.
- Make sure you have the JavaFX SDK installed on your computer.
- Go to File -> Project Structure -> Libraries and add the JavaFX SDK to your project.
- In the Run/Debug Configurations, add the VM options: --module-path /path/to/javafx-sdk-<version>/lib --add-modules javafx.controls,javafx.fxml
- Create a new Java class that extends Application to start building your JavaFX application.
If you run into any issues during the setup process, feel free to ask for help in this channel! Good luck with your JavaFX development journey.
- AI generated response
I recommend following: https://openjfx.io/openjfx-docs/#maven .
Getting started with JavaFX for Java desktop application development
I've never used Maven and IntelliJ, so I don't really understand it
I would recommend learning maven or gradle
build tools are really helpful
and for javafx you dont really need to know that much because the guide for javafx is pretty good
It's worth looking into over managing your dependencies yourself, and the guide basically explains everything.