JavaFX install & setup (IntelliJ) 💡

preview_player
Показать описание
Setting up JavaFX for IntelliJ is not that bad...

1. (00:20:24) Download JavaFX SDK
2. (01:19:16) Create a new project
3. (02:06:14) Add SDK library
4. (02:43:18) Add VM options

––––––––––––––––––––––––––––––
Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0
––––––––––––––––––––––––––––––

#JavaFX #IntelliJ #setup
Рекомендации по теме
Комментарии
Автор

For newer versions of IntelliJ (today 5.12.2022), after creating project in intelij, just run it, than go to run/ edit configuration, than in 'Build and run' section press 'Modify options' and select from 'Java' section the ' Add VM option' . Then everything is as in the video says

eduard
Автор

GUYS IN LATES VERSIONS(21) THERE'S NO NEED FOR THE ADD VM. u can run it without adding path to vm. Spent hours figuring it out. Now trying to be some help :)

WaqasAli-cwen
Автор

it always takes me 5 times as long to set up the configurations for things like this than to learn the things i actually want to learn, appreciate the video.

lucaspont
Автор

If it helps -> IntelliJ Version 2020.3. - I have to add SDK in Libraries and Modules/Dependencies as well.
about VM path is located Run/ AddConfigurations/ Modify Options/ Add VM Options.
Good Luck 😎

bacanalienigena
Автор

Im running IntelliJ 2023 and I didnt have to do anything to make this work compared to Eclipse's 10 steps. Guess they improved the IDE :)

benderbg
Автор

if you can't find vm options enabled enable it by clicking on the "modify options " beside build and run and then check a mark on add vm options

Hadidiz
Автор

Thank you for your tutorial, was stuck in my studies with just creating the first Java Fx doc. You saved me from a lot of frustration, these things get complex and you don't know where to look anymore, thank you! <3

luckyone
Автор

Thanks for the video!
the setup worked for me. I used IntelliJ 2022. I did run into problem because I included those additional libraries such as BootstrapFX, ControlsFX, FormsFX, ... but once I didn't tick those boxes. it ran!

VietNguyen-vjsu
Автор

Unfortunately the new version of intellij is more complicated in terms of creating a new javaFX project. It has lots of advanced options. I have no clue what should I select. It asks for Group, Artifact and dependancies. Also it forces me to choose either Maven or Gradle. I am so confused.

diverstory
Автор

javafx is the messiest framework/libary to set up i've ever encountered

HoDx
Автор

omg lifesaver! pls do continue this series T_T

bakedlorelei
Автор

I couldn't run a JavaFX but after watching your video I figured out how to make it work.

badxxdevilxx
Автор

Just keep on with this channel. You'll hopefull0y catch the algo wave soon. Good job.

gerhardkotze
Автор

Great tut
But, after adding the VM option, I get this error :
Error occurred during initialization of boot layer
Module com.example.demo not found
Please help me over come this issue

aadityagupta
Автор

I can't figure out how to do this in the newest version of Intellij. I followed the instructions to perfectly. It did not work. I tried for about 2 hours.

templetonpeck
Автор


1. (00:00:20) Download JavaFX SDK
2. (00:01:19) Create a new project
3. (00:02:06) Add SDK library
4. (00:02:43) Add VM options

Linux/Mac: --module-path --add-modules javafx.controls, javafx.fxml
Windows: --module-path --add-modules javafx.controls, javafx.fxml

BroCodez
Автор

Thanks for this tutorial. I decided to switch IDE from Eclipse to IntelliJ because I find IntelliJ more intuitive. This video is of great help to setup

edimainwang
Автор

bro hug, 2 hours of pain and you got me fixed

shiken_
Автор

This saved me, he gives step by step instructions that can be followed by a first grader THANKS!

leeortiz
Автор

Thanks precise and to the point just what I wanted, professors should give this videos link instead of pdf instructions.

yuvrajkorotana